@Test
public void testEclipseLinkMongoDbConfigurationIsAvailable() {

    // GIVEN
    final Map<String, Object> properties = new HashMap<>();
    when(descriptor.getProperties()).thenReturn(properties);
    properties.put("eclipselink.target-database", "org.eclipse.persistence.nosql.adapters.mongo.MongoPlatform");
    // WHEN
    final boolean hasConfiguration = registry.hasConfiguration(descriptor);
    // THEN
    assertTrue(hasConfiguration);
}