@Test
public void getFactoriesByTypeClassTest() {

    List<OrmFactory<? extends Thing>> result = registry.getFactoriesOfType(Thing.class);
    assertEquals(1, result.size());
    List<OrmFactory<? extends A>> result2 = registry.getFactoriesOfType(A.class);
    assertEquals(4, result2.size());
    List<OrmFactory<? extends B>> result3 = registry.getFactoriesOfType(B.class);
    assertEquals(2, result3.size());
    List<OrmFactory<? extends C>> result4 = registry.getFactoriesOfType(C.class);
    assertEquals(1, result4.size());
}