@Test
public void shouldFirePreDeleteQuery() {

    DocumentDeleteQuery query = delete().from("collection").build();
    subject.firePreDeleteQuery(query);
    ArgumentCaptor<DocumentDeleteQueryExecute> captor = ArgumentCaptor.forClass(DocumentDeleteQueryExecute.class);
    verify(documentDeleteQueryExecute).fire(captor.capture());
    assertEquals(query, captor.getValue().getQuery());
}