Search in sources :

Example 1 with DeleteQueryProvider

use of jakarta.nosql.query.DeleteQuery.DeleteQueryProvider in project jnosql-diana by eclipse.

the class DeleteQueryProviderTest method shouldGetSupplier.

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

Aggregations

DeleteQueryProvider (jakarta.nosql.query.DeleteQuery.DeleteQueryProvider)1 CachedDeleteQueryProvider (org.eclipse.jnosql.communication.query.cache.CachedDeleteQueryProvider)1 Test (org.junit.jupiter.api.Test)1