@Before public void setup() { super.setup(); account = mock(InvestmentAccount.class); when(accountDAO.findAccount(Mockito.anyString(), eq(1))).thenReturn(account); }
@BeforeClass public static void beforeClass() { Setup.touch(); }
@Before public void setup() { super.setup(); when(accountDAO.findAccount(Mockito.anyString(), eq(99))).thenReturn(null); }
static { Setup.setLmdbLibraryPath(); }