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