@Test
public void shouldFirePreKeyValueEntity() {

    Actor actor = new Actor();
    actor.name = "Luke";
    subject.firePreKeyValueEntity(actor);
    ArgumentCaptor<EntityKeyValuePrePersist> captor = ArgumentCaptor.forClass(EntityKeyValuePrePersist.class);
    verify(entityKeyValuePrePersist).fire(captor.capture());
    EntityKeyValuePrePersist value = captor.getValue();
    assertEquals(actor, value.getValue());
}