Package org.activejpa.examples.petclinic.model

Examples of org.activejpa.examples.petclinic.model.PetType


  @Test
  public void getPetTypes() {
      Collection<PetType> petTypes = this.clinicService.findPetTypes();
 
      PetType petType1 = EntityUtils.getById(petTypes, PetType.class, 1);
      assertEquals("cat", petType1.getName());
      PetType petType4 = EntityUtils.getById(petTypes, PetType.class, 4);
      assertEquals("snake", petType4.getName());
  }
View Full Code Here

TOP

Related Classes of org.activejpa.examples.petclinic.model.PetType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.