DefaultDocumentMapperDeleteBuilder extends AbstractMapperQuery implements DocumentMapperDeleteFrom,
        DocumentMapperDeleteWhere, DocumentMapperDeleteNameCondition, DocumentMapperDeleteNotCondition { @Override public DocumentDeleteQuery build() { return new ArtemisDocumentDeleteQuery(documentCollection, condition); } DefaultDocumentMapperDeleteBuilder(ClassMapping mapping, Converters converters); @Override DocumentMapperDeleteNameCondition where(String name); @Override DocumentMapperDeleteNameCondition and(String name); @Override DocumentMapperDeleteNameCondition or(String name); @Override DocumentMapperDeleteNotCondition not(); @Override DocumentMapperDeleteWhere eq(T value); @Override DocumentMapperDeleteWhere like(String value); @Override DocumentMapperDeleteWhere gt(T value); @Override DocumentMapperDeleteWhere gte(T value); @Override DocumentMapperDeleteWhere lt(T value); @Override DocumentMapperDeleteWhere lte(T value); @Override DocumentMapperDeleteWhere between(T valueA, T valueB); @Override DocumentMapperDeleteWhere in(Iterable<T> values); @Override DocumentDeleteQuery build(); @Override void execute(DocumentTemplate template); @Override void execute(DocumentTemplateAsync template); @Override void execute(DocumentTemplateAsync template, Consumer<Void> callback);  }
@Test public void shouldReturnDeleteFrom() { DocumentMapperDeleteFrom documentFrom = mapperBuilder.deleteFrom(Person.class); DocumentDeleteQuery query = documentFrom.build(); DocumentDeleteQuery queryExpected = delete().from("Person").build(); assertEquals(queryExpected, query); }