@Test
void getLoader() {

    when(entityTypeRegistry.getEntityTypeMap()).thenReturn(Collections.emptyMap());
    EntityLoaderRegistry registry = new EntityLoaderRegistry(
            Stream.of(new TestEntityLoader()).collect(Collectors.toSet()),
            entityTypeRegistry,
            JsonTools.INSTANCE,
            new IdGenerator(),
            FileUtils.INSTANCE
    );
    assertNotNull(registry.getEntityLoaders());
    assertNotNull(registry.getLoader("ENTITY"));
    assertNull(registry.getLoader("LOADER"));
}