embed2.alpha = "test2";
embed2.beta = 1234;
embed2.setGamma(true);
pm.insert(embed2);
EmbeddedContainerModelJava container = new EmbeddedContainerModelJava();
container.id = "container";
container.embed = embed;
container.embeds = new ArrayList<EmbeddedModel>();
container.embeds.add(embed);
container.embeds.add(embed2);
pm.insert(container);
EmbeddedContainerModelJava afterContainer = pm.getByKey(EmbeddedContainerModelJava.class, container.id);
assertNotNull(afterContainer);
assertEquals(container.id, afterContainer.id);
assertNotNull(afterContainer.embed);
assertEquals(embed.id, afterContainer.embed.id);