@Override
  public void init(DatabaseMetaData metaData) {
    LoggerFactory.getLogger(getClass()).warn("H2 database should be used for evaluation purpose only.");
  }
@Test
  public void init_logs_warning() {
    underTest.init(mock(DatabaseMetaData.class));

    assertThat(logs.logs(Level.WARN)).contains("H2 database should be used for evaluation purpose only.");
  }