Instantly share code, notes, and snippets.

@htrajan /
Last active Jun 28, 2018

What would you like to do?
public class AccountSavingsRecommenderTest {
private final Mockery mockery = new Mockery();
private final RetirementGoalSavingsAllocator retirementAllocator = mockery.mock(RetirementGoalSavingsAllocator.class);
public void computePvByGoal_retirement() {
Account retirementAccount = TestAccountFactory.exampleRetirementAccount();
mockery.checking(new Expectations() {{
// rest of our test logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment