Package siena.base.test.model

Examples of siena.base.test.model.PolymorphicModelStringId


 
  public void testPolymorphic() {
    PolymorphicModelStringId<String> poly = new PolymorphicModelStringId<String>("test", "test2");
    pm.insert(poly);
   
    PolymorphicModelStringId poly2 = pm.getByKey(PolymorphicModelStringId.class, poly.id);
    assertEquals(poly, poly2);
  }
View Full Code Here

TOP

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

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.