use of org.jnosql.diana.api.document.query.DocumentDeleteFrom in project jnosql-artemis by eclipse.
the class DefaultDocumentMapperDeleteBuilderTest method shouldReturnDeleteFrom.
@Test
public void shouldReturnDeleteFrom() {
DocumentDeleteFrom DocumentFrom = mapperBuilder.deleteFrom(Person.class);
DocumentDeleteQuery query = DocumentFrom.build();
DocumentDeleteQuery queryExpected = delete().from("Person").build();
assertEquals(queryExpected, query);
}
use of org.jnosql.diana.api.document.query.DocumentDeleteFrom in project jnosql-artemis by eclipse.
the class DefaultDocumentQueryMapperBuilderTest method shouldReturnDeleteFrom.
@Test
public void shouldReturnDeleteFrom() {
DocumentDeleteFrom deleteFrom = mapperBuilder.deleteFrom(Person.class);
assertNotNull(deleteFrom);
}
Aggregations