public class SimpleReturnExampleUserTest {
@Test
public void testCreateMockDelegatedToEasyMock() throws Exception {
SimpleReturnExample mock = createMock(SimpleReturnExample.class);
expect(mock.mySimpleMethod()).andReturn(2);
replay(mock);
assertEquals(2, new SimpleReturnExampleUser(mock).myMethod());