Search in sources :

Example 1 with CachedSelectQueryProvider

use of org.eclipse.jnosql.communication.query.cache.CachedSelectQueryProvider in project jnosql-diana by eclipse.

the class SelectQueryProviderTest method shouldGetSupplier.

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

Aggregations

SelectQueryProvider (jakarta.nosql.query.SelectQuery.SelectQueryProvider)1 CachedSelectQueryProvider (org.eclipse.jnosql.communication.query.cache.CachedSelectQueryProvider)1 Test (org.junit.jupiter.api.Test)1