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());
assertEquals(second, first.joins_secondEntity().get(0));
}
public void test24_flattenedKeyPathAccess() {
FirstEntity first = ERXEOControlUtilities.createAndInsertObject(ec, FirstEntity.class);
SecondEntity second = ERXEOControlUtilities.createAndInsertObject(ec, SecondEntity.class);