Search in sources :

Example 1 with CachedGetQueryProvider

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

the class GetQueryProviderTest method shouldGetSupplier.

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

Aggregations

GetQueryProvider (jakarta.nosql.query.GetQuery.GetQueryProvider)1 CachedGetQueryProvider (org.eclipse.jnosql.communication.query.cache.CachedGetQueryProvider)1 Test (org.junit.jupiter.api.Test)1