@Test
 @Transactional
 public void updateOwner() throws Exception {
   Owner o1 = this.clinicService.findOwnerById(1);
   String old = o1.getLastName();
   o1.setLastName(old + "X");
   this.clinicService.saveOwner(o1);
   o1 = this.clinicService.findOwnerById(1);
   assertEquals(old + "X", o1.getLastName());
 }
  @Test
  public void findSingleOwner() {
    Owner owner1 = this.clinicService.findOwnerById(1);
    assertTrue(owner1.getLastName().startsWith("Franklin"));
    Owner owner10 = this.clinicService.findOwnerById(10);
    assertEquals("Carlos", owner10.getFirstName());

    assertEquals(owner1.getPets().size(), 1);
  }