Search in sources :

Example 6 with PersonRepository

use of jakarta.nosql.tck.entities.PersonRepository in project jnosql-diana by eclipse.

the class DefaultColumnRepositoryProducerTest method shouldCreateFromTemplate.

@Test
public void shouldCreateFromTemplate() {
    ColumnTemplate template = Mockito.mock(ColumnTemplate.class);
    PersonRepository personRepository = producer.get(PersonRepository.class, template);
    assertNotNull(personRepository);
}
Also used : ColumnTemplate(jakarta.nosql.mapping.column.ColumnTemplate) PersonRepository(jakarta.nosql.tck.entities.PersonRepository) Test(org.junit.jupiter.api.Test)

Aggregations

PersonRepository (jakarta.nosql.tck.entities.PersonRepository)6 Test (org.junit.jupiter.api.Test)6 ColumnFamilyManager (jakarta.nosql.column.ColumnFamilyManager)1 DocumentCollectionManager (jakarta.nosql.document.DocumentCollectionManager)1 BucketManager (jakarta.nosql.keyvalue.BucketManager)1 ColumnTemplate (jakarta.nosql.mapping.column.ColumnTemplate)1 DocumentTemplate (jakarta.nosql.mapping.document.DocumentTemplate)1 KeyValueTemplate (jakarta.nosql.mapping.keyvalue.KeyValueTemplate)1