@Test void testWarning() { callSQL(501); underTest.end(); String log = underTest.constructLogline(); assertThat(log, containsString("executing 501 JDBC statements")); }
@Override public void end() { log(getQueryCount()); }
HibernateNPlusOneLogger extends HibernateStatementStatistics { @Override public void end() { log(getQueryCount()); } }
HibernateNPlusOneLogger extends HibernateStatementStatistics { @Override public void end() { log(getQueryCount()); } HibernateNPlusOneLogger(); }
HibernateNPlusOneLogger extends HibernateStatementStatistics { @Override public void end() { log(getQueryCount()); } HibernateNPlusOneLogger(); @Override void end(); }
HibernateNPlusOneLogger extends HibernateStatementStatistics { @Override public void end() { log(getQueryCount()); } HibernateNPlusOneLogger(); @Override void end();  }