final List<Stringable> list = factory.queryPolyInterfaces(query);
assertEquals(2, list.size());
}
private void findByMatchPartialEntity() {
final Empty match = new EmptyEntityWithOwnProperty();
final List<Empty> matches = factory.allEmptyInterfacesThatMatch(match);
assertEquals(1, matches.size());
final Empty empty = matches.get(0);
final StringableEntityWithOwnProperties imp = (StringableEntityWithOwnProperties) empty;