List results = context.performQuery(q);
assertEquals(200, results.size());
Iterator it = results.iterator();
while (it.hasNext()) {
Entity3 e3 = (Entity3) it.next();
assertTrue(e3.readPropertyDirectly("entity2") instanceof Fault);
e3.getEntity2().getName();
assertFalse(e3.readPropertyDirectly("entity2") instanceof Fault);
}
}