ParsingHookRegistry { public void start(final String sql) { hooks.forEach(each -> each.start(sql)); } private  ParsingHookRegistry(); static ParsingHookRegistry getInstance(); void start(final String sql); void finishSuccess(final SQLStatement sqlStatement); void finishFailure(final Exception cause);  }
@Test public void assertStart() { registry.start(""); assertTrue(ParsingHookFixture.containsAction("start")); }