@Test
public void getFactoriesByTypeClassThatDoesNotExistTest() throws Exception {

    List<OrmFactory<? extends Error>> result = registry.getFactoriesOfType(Error.class);
    assertEquals(0, result.size());
}