DefaultColumnEventPersistManager implements ColumnEventPersistManager { @Override public <T> void firePreColumnEntity(T entity) { entityColumnPrePersist.fire(EntityColumnPrePersist.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 shouldFirePreColumnEntity() { Jedi jedi = new Jedi(); jedi.name = "Luke"; subject.firePreColumnEntity(jedi); ArgumentCaptor<EntityColumnPrePersist> captor = ArgumentCaptor.forClass(EntityColumnPrePersist.class); verify(entityColumnPrePersist).fire(captor.capture()); EntityColumnPrePersist value = captor.getValue(); assertEquals(jedi, value.getValue()); }