assertEquals(2, list.size());
}
public void testFindByMatchPartialEntity() {
final SqlDataClassFactory factory = SqlIntegrationTestSingleton.getSqlDataClassFactory();
final EmptyInterface match = new EmptyInterfaceEx();
final List<EmptyInterface> matches = factory.allEmptyInterfacesThatMatch(match);
assertEquals(1, matches.size());
final EmptyInterface emptyInterface = matches.get(0);
final PolyInterfaceImplB imp = (PolyInterfaceImplB) emptyInterface;
assertEquals(IMPL_B_STRING, imp.getString());
}