use of jakarta.nosql.tck.entities.PersonRepository in project jnosql-diana by eclipse.
the class DefaultColumnRepositoryProducerTest method shouldCreateFromManager.
@Test
public void shouldCreateFromManager() {
ColumnFamilyManager manager = Mockito.mock(ColumnFamilyManager.class);
PersonRepository personRepository = producer.get(PersonRepository.class, manager);
assertNotNull(personRepository);
}
use of jakarta.nosql.tck.entities.PersonRepository in project jnosql-diana by eclipse.
the class DefaultKeyValueRepositoryProducerTest method shouldCreateFromManager.
@Test
public void shouldCreateFromManager() {
BucketManager manager = Mockito.mock(BucketManager.class);
PersonRepository personRepository = producer.get(PersonRepository.class, manager);
assertNotNull(personRepository);
}
use of jakarta.nosql.tck.entities.PersonRepository in project jnosql-diana by eclipse.
the class DefaultDocumentRepositoryProducerTest method shouldCreateFromManager.
@Test
public void shouldCreateFromManager() {
DocumentCollectionManager manager = Mockito.mock(DocumentCollectionManager.class);
PersonRepository personRepository = producer.get(PersonRepository.class, manager);
assertNotNull(personRepository);
}
use of jakarta.nosql.tck.entities.PersonRepository in project jnosql-diana by eclipse.
the class DefaultDocumentRepositoryProducerTest method shouldCreateFromTemplate.
@Test
public void shouldCreateFromTemplate() {
DocumentTemplate template = Mockito.mock(DocumentTemplate.class);
PersonRepository personRepository = producer.get(PersonRepository.class, template);
assertNotNull(personRepository);
}
use of jakarta.nosql.tck.entities.PersonRepository in project jnosql-diana by eclipse.
the class DefaultKeyValueRepositoryProducerTest method shouldCreateFromTemplate.
@Test
public void shouldCreateFromTemplate() {
KeyValueTemplate template = Mockito.mock(KeyValueTemplate.class);
PersonRepository personRepository = producer.get(PersonRepository.class, template);
assertNotNull(personRepository);
}
Aggregations