EasyMock
EasyMock.createMockBuilder(Cookie.class).addMockedMethod("getIngredients").createMock();
EasyMock.expect(cookie.getIngredients()).andReturn(getMockIngredients()).anyTimes();
EasyMock.replay(cookie);
Rambling of a procrastinator, want-to-be-programmer.
Labels: EasyMock
1 comments:
Test comment
Post a Comment