DefaultColumnEventPersistManager implements ColumnEventPersistManager { @Override public void firePreDeleteQuery(ColumnDeleteQuery query) { columnDeleteQueryExecute.fire(ColumnDeleteQueryExecute.of(query)); }  @Override void firePreColumn(ColumnEntity entity); @Override void firePostColumn(ColumnEntity entity); @Override void firePreEntity(T entity); @Override void firePostEntity(T entity); @Override void firePreColumnEntity(T entity); @Override void firePostColumnEntity(T entity); @Override void firePreQuery(ColumnQuery query); @Override void firePreDeleteQuery(ColumnDeleteQuery query);  }
@Test public void shouldFirePreDeleteQuery() { ColumnDeleteQuery query = delete().from("person").build(); subject.firePreDeleteQuery(query); ArgumentCaptor<ColumnDeleteQueryExecute> captor = ArgumentCaptor.forClass(ColumnDeleteQueryExecute.class); verify(columnDeleteQueryExecute).fire(captor.capture()); assertEquals(query, captor.getValue().getQuery()); }