コード例 #1
0
 @Test
 public void testUpdateCustomer() {
   Customer customer = customerService.getCustomer(getMaxCustomerId());
   customer.getFullName().setFirstName("test1");
   assert (customerService.updateCustomer(customer));
 }
コード例 #2
0
 @Test
 public void testGetCustomer() {
   Customer customer = customerService.getCustomer(getMaxCustomerId());
   assertEquals(customer.getFullName().getSurName(), "test");
 }