@Test public void initSensor() { Map<String, Object> map = new HashMap<String, Object>(); sqlTimerSensor.initHook(map); verifyNoMoreInteractions(timer, platformManager); }
@Override protected void initHook(Map<String, Object> parameters) { statementHook = new StatementHook(timer, platformManager, connectionMetaDataStorage, statementReflectionCache, parameters); }
StatementSensor extends AbstractMethodSensor implements IMethodSensor { @Override protected void initHook(Map<String, Object> parameters) { statementHook = new StatementHook(timer, platformManager, connectionMetaDataStorage, statementReflectionCache, parameters); } }
StatementSensor extends AbstractMethodSensor implements IMethodSensor { @Override protected void initHook(Map<String, Object> parameters) { statementHook = new StatementHook(timer, platformManager, connectionMetaDataStorage, statementReflectionCache, parameters); }  }
StatementSensor extends AbstractMethodSensor implements IMethodSensor { @Override protected void initHook(Map<String, Object> parameters) { statementHook = new StatementHook(timer, platformManager, connectionMetaDataStorage, statementReflectionCache, parameters); }  @Override IHook getHook(); }
StatementSensor extends AbstractMethodSensor implements IMethodSensor { @Override protected void initHook(Map<String, Object> parameters) { statementHook = new StatementHook(timer, platformManager, connectionMetaDataStorage, statementReflectionCache, parameters); }  @Override IHook getHook();  }