DefaultColumnEventPersistManager implements ColumnEventPersistManager { @Override public void firePreColumn(ColumnEntity entity) { columnEntityPrePersistEvent.fire(ColumnEntityPrePersist.of(entity)); }  @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 shouldFirePreColumn() { ColumnEntity entity = ColumnEntity.of("columnFamily"); subject.firePreColumn(entity); ArgumentCaptor<ColumnEntityPrePersist> captor = ArgumentCaptor.forClass(ColumnEntityPrePersist.class); verify(columnEntityPrePersistEvent).fire(captor.capture()); ColumnEntityPrePersist captorValue = captor.getValue(); assertEquals(entity, captorValue.getEntity()); }