Search in sources :

Example 1 with DelQueryProvider

use of jakarta.nosql.query.DelQuery.DelQueryProvider in project jnosql-diana by eclipse.

the class DelQueryProviderTest method shouldGetSupplier.

@Test
public void shouldGetSupplier() {
    DelQueryProvider supplier = ServiceLoaderProvider.get(DelQueryProvider.class);
    Assertions.assertNotNull(supplier);
    Assertions.assertTrue(supplier instanceof CachedDelQueryProvider);
}
Also used : CachedDelQueryProvider(org.eclipse.jnosql.communication.query.cache.CachedDelQueryProvider) DelQueryProvider(jakarta.nosql.query.DelQuery.DelQueryProvider) CachedDelQueryProvider(org.eclipse.jnosql.communication.query.cache.CachedDelQueryProvider) Test(org.junit.jupiter.api.Test)

Aggregations

DelQueryProvider (jakarta.nosql.query.DelQuery.DelQueryProvider)1 CachedDelQueryProvider (org.eclipse.jnosql.communication.query.cache.CachedDelQueryProvider)1 Test (org.junit.jupiter.api.Test)1