@Test public void testHandleSummaryRequest() { List<Account> accounts = controller.accountSummary(); assertNotNull(accounts); assertEquals(1, accounts.size()); assertEquals(Long.valueOf(0), accounts.get(0).getEntityId()); }
@Test public void testHandleDetailsRequest() { Account account = controller.accountDetails(0); assertNotNull(account); assertEquals(Long.valueOf(0), account.getEntityId()); }