@Test
public void testHibernateOgmMongoDbConfigurationIsAvailable() {

    // 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");
    // WHEN
    final boolean hasConfiguration = registry.hasConfiguration(descriptor);
    // THEN
    assertTrue(hasConfiguration);
}