@Test
public void getFactoriesByTypeStringTest() throws Exception {

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