@Test
public void testEclipseLinkMongoDbConfigurationCanBeAccessed() {

    // 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");
    properties.put("eclipselink.nosql.property.mongo.db", "foo");
    properties.put("eclipselink.nosql.property.mongo.host", "www.example.com");
    // WHEN
    final Configuration configuration = registry.getConfiguration(descriptor);
    // THEN
    assertThat(configuration, notNullValue());
}