Package org.crank.crud.model.inquiry

Examples of org.crank.crud.model.inquiry.PetClinicLead


 
  @BeforeClass (groups="setup", dependsOnGroups="class-init")
  public void setup(){
   
        for (int index = 0; index < 10; index ++) {
          PetClinicLead lead = new PetClinicLead();
          lead.setName("testLead" + index);
          PetClinicInquiry inquiry = new PetClinicInquiry();
          inquiry.setName("testInquiry" + index);
          inquiry.setAnotherProp("testInquiryAP" + index);
          lead.setInquiry(inquiry);
          inquiryRepo().store(inquiry);
          leadRepo().store(lead);
        }

  }
View Full Code Here

TOP

Related Classes of org.crank.crud.model.inquiry.PetClinicLead

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.