@Test
public void testHibernateOgmMongoDbConfigurationCanBeAccessed() {

    // GIVEN
    final Map<String, Object> properties = new HashMap<>();
    when(descriptor.getProperties()).thenReturn(properties);
    properties.put("hibernate.ogm.datastore.provider", "org.hibernate.ogm.datastore.mongodb.impl.MongoDBDatastoreProvider");
    properties.put("hibernate.ogm.datastore.database", "foo");
    properties.put("hibernate.ogm.datastore.host", "www.example.com");
    // WHEN
    final Configuration configuration = registry.getConfiguration(descriptor);
    // THEN
    assertThat(configuration, notNullValue());
}