Package siena.base.test.model

Examples of siena.base.test.model.DiscoveryLifeCycleMulti


  }
 
  public void testLifeCycleGetMultiAndLifeCycleInjection(){
    PersistenceManagerLifeCycleWrapper pml = new PersistenceManagerLifeCycleWrapper(pm);
   
    DiscoveryLifeCycleMulti before = new DiscoveryLifeCycleMulti("Radioactivity", LongAutoID_CURIE);
    pm.insert(before);
   
    lifeCyclePhase = "";
    DiscoveryLifeCycleMulti after = new DiscoveryLifeCycleMulti();
    after.id = before.id;
    pml.get(after);
   
    assertEquals(LifeCyclePhase.PRE_FETCH.toString()+" "+LifeCyclePhase.POST_FETCH.toString()+" ", lifeCyclePhase);
  }
View Full Code Here

TOP

Related Classes of siena.base.test.model.DiscoveryLifeCycleMulti

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.