Exemplo n.º 1
0
 @Test
 public void testUpdateCustomer() {
   Customer customer = customerService.getCustomer(getMaxCustomerId());
   customer.getFullName().setFirstName("test1");
   assert (customerService.updateCustomer(customer));
 }
Exemplo n.º 2
0
 @Test
 public void testGetCustomer() {
   Customer customer = customerService.getCustomer(getMaxCustomerId());
   assertEquals(customer.getFullName().getSurName(), "test");
 }