Package siena.base.test.model

Examples of siena.base.test.model.EmbeddedContainerModelNative


    embed.sub.id = "sub";
    embed.sub.parent = embed;
   
    pm.insert(embed);
   
    EmbeddedContainerModelNative container = new EmbeddedContainerModelNative();
    container.id = "container";
    container.embed = embed;
    pm.insert(container);

    EmbeddedContainerModelNative afterContainer = pm.getByKey(EmbeddedContainerModelNative.class, container.id);
    assertNotNull(afterContainer);
    assertEquals(container.id, afterContainer.id);
    assertNotNull(afterContainer.embed);
    assertEquals(embed.id, afterContainer.embed.id);
   
View Full Code Here

TOP

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

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.