public void testRelatedSimpleReference() {
RelatedSimpleReferencedChild adam1 = new RelatedSimpleReferencedChild("adam1");
adam1.insert();
RelatedSimpleReferencedParent god = new RelatedSimpleReferencedParent("god");
god.child = adam1;
god.insert();
assertNotNull(god.id);
assertNotNull(god.child.id);
RelatedSimpleReferencedParent godbis = Model.getByKey(RelatedSimpleReferencedParent.class, god.id);
RelatedSimpleReferencedChild adam1bis = Model.getByKey(RelatedSimpleReferencedChild.class, godbis.child.id);
assertEquals(god, godbis);
assertEquals(adam1, adam1bis);
}