@Test
public void reportsHealthy() throws Exception {

  JooqHealthCheck healthCheck = new JooqHealthCheck(dataSource, LOG_ONLY);
  assertThat(healthCheck.check().isHealthy()).isTrue();
  healthCheck = new JooqHealthCheck(dataSource, RETURN_UNHEALTHY);
  assertThat(healthCheck.check().isHealthy()).isTrue();
}