NSArray<SecondEntity> results2 = fetchAll(SecondEntity.ENTITY_NAME);
assertEquals("Expecting only one row", 1, results2.count());
second = results2.get(0);
assertEquals(1, second.joins_firstEntity().count());
assertEquals(first, second.joins_firstEntity().get(0));
NSArray<FirstEntity> results = fetchAll(FirstEntity.ENTITY_NAME);
assertEquals("Expecting only one row", 1, results.count());
first = results.get(0);
assertEquals(1, first.joins_secondEntity().count());