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);