AbstractJdbcCallback implements CacheCallback { protected boolean eventCanBeIgnored(Operation operation) { return operation.isLoad(); } protected  AbstractJdbcCallback(); protected  AbstractJdbcCallback(SqlHandler sqlHandler, InternalCache cache);   }
@Test public void verifyLoadsAreIgnored() { boolean ignoreEvent = jdbcCallback.eventCanBeIgnored(Operation.LOCAL_LOAD_CREATE); assertThat(ignoreEvent).isTrue(); }
@Test public void verifyCreateAreNotIgnored() { boolean ignoreEvent = jdbcCallback.eventCanBeIgnored(Operation.CREATE); assertThat(ignoreEvent).isFalse(); }