EntityLifecycleListenerManager { public void invokePrePersistCallbacks(Object instance) { invokeCallbacks(instance, LifecycleEvent.PRE_PERSIST); }  static EntityLifecycleListenerManager empty(); void invokePrePersistCallbacks(Object instance); void invokePostPersistCallbacks(Object instance); void invokePostLoadCallbacks(Object instance); void invokePreUpdateCallbacks(Object instance); void invokePostUpdateCallbacks(Object instance); void invokePreRemoveCallbacks(Object instance); void invokePostRemoveCallbacks(Object instance);  }
@Test void listenerInvocationDoesNothingWhenNoMatchingListenerExists() { final Child instance = spy(new Child()); manager.invokePrePersistCallbacks(instance); verify(instance, never()).prePersistChild(); }