Search in sources :

Example 11 with DocumentConfiguration

use of jakarta.nosql.document.DocumentConfiguration in project jnosql-diana-driver by eclipse.

the class SolrDocumentConfigurationTest method shouldReturnFromConfiguration.

@Test
public void shouldReturnFromConfiguration() {
    DocumentConfiguration configuration = DocumentConfiguration.getConfiguration();
    Assertions.assertNotNull(configuration);
    Assertions.assertTrue(configuration instanceof DocumentConfiguration);
}
Also used : DocumentConfiguration(jakarta.nosql.document.DocumentConfiguration) Test(org.junit.jupiter.api.Test)

Aggregations

DocumentConfiguration (jakarta.nosql.document.DocumentConfiguration)11 Test (org.junit.jupiter.api.Test)10 DocumentCollectionManagerFactory (jakarta.nosql.document.DocumentCollectionManagerFactory)3 Settings (jakarta.nosql.Settings)1 ConfigurationException (org.eclipse.jnosql.mapping.configuration.ConfigurationException)1 SettingsConverter (org.eclipse.jnosql.mapping.configuration.SettingsConverter)1 Reflections (org.eclipse.jnosql.mapping.reflection.Reflections)1 Config (org.eclipse.microprofile.config.Config)1