embed.javaEmbed.l = 123L;
embed.nativeEmbed = new EmbeddedNative.SubEmbed();
embed.nativeEmbed.str = "subtest"+i;
embed.nativeEmbed.l = 123L;
EmbeddedContainerNative container = new EmbeddedContainerNative();
container.id = "container"+i;
container.normal = "string";
container.embed = embed;
pm.insert(container);
containers.add(container);
}
EmbeddedContainerNative afterContainer = Model.all(EmbeddedContainerNative.class).filter("embed.alpha", "test56").get();
assertNotNull(afterContainer);
assertEquals(containers.get(56).id, afterContainer.id);
assertEquals(containers.get(56).normal, afterContainer.normal);
assertNotNull(afterContainer.embed);
assertEquals(containers.get(56).embed.alpha, afterContainer.embed.alpha);