@Test public void registersAuditEventClass() throws ComponentLookupException { this.mocker.getComponentUnderTest().onEvent(new ApplicationStartedEvent(), null, null); Mockito.verify(this.config).addAnnotatedClass(AuditEvent.class); }
@Override public void onEvent(Event event, Object source, Object data) { this.sessionFactory.getConfiguration().addAnnotatedClass(AuditEvent.class); }
ORMRegistrationHandler extends AbstractEventListener { @Override public void onEvent(Event event, Object source, Object data) { this.sessionFactory.getConfiguration().addAnnotatedClass(AuditEvent.class); } }
ORMRegistrationHandler extends AbstractEventListener { @Override public void onEvent(Event event, Object source, Object data) { this.sessionFactory.getConfiguration().addAnnotatedClass(AuditEvent.class); } ORMRegistrationHandler(); }
ORMRegistrationHandler extends AbstractEventListener { @Override public void onEvent(Event event, Object source, Object data) { this.sessionFactory.getConfiguration().addAnnotatedClass(AuditEvent.class); } ORMRegistrationHandler(); @Override void onEvent(Event event, Object source, Object data); }
ORMRegistrationHandler extends AbstractEventListener { @Override public void onEvent(Event event, Object source, Object data) { this.sessionFactory.getConfiguration().addAnnotatedClass(AuditEvent.class); } ORMRegistrationHandler(); @Override void onEvent(Event event, Object source, Object data);  }