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