use of org.jnosql.diana.api.column.ColumnFamilyManagerAsync in project jnosql-artemis by eclipse.
the class DefaultColumnTemplateAsyncProducerTest method shouldReturn.
@Test
public void shouldReturn() {
ColumnFamilyManagerAsync manager = Mockito.mock(ColumnFamilyManagerAsync.class);
ColumnTemplateAsync columnRepository = producer.get(manager);
assertNotNull(columnRepository);
}
use of org.jnosql.diana.api.column.ColumnFamilyManagerAsync in project jnosql-artemis by eclipse.
the class ColumnTemplateAsyncBean method create.
@Override
public ColumnTemplateAsync create(CreationalContext<ColumnTemplateAsync> creationalContext) {
ColumnTemplateAsyncProducer producer = getInstance(ColumnTemplateAsyncProducer.class);
ColumnFamilyManagerAsync columnFamilyManager = getColumnFamilyManager();
return producer.get(columnFamilyManager);
}
use of org.jnosql.diana.api.column.ColumnFamilyManagerAsync in project jnosql-diana-driver by eclipse.
the class CassandraColumnFamilyManagerFactoryTest method shouldReturnEntityManagerAsync.
@Test
public void shouldReturnEntityManagerAsync() throws Exception {
ColumnFamilyManagerAsync columnEntityManager = subject.getAsync(org.jnosql.diana.cassandra.column.Constants.KEY_SPACE);
assertNotNull(columnEntityManager);
}
Aggregations