public boolean liveness() {
    return Health.Status.GREEN.equals(dbConnectionNodeCheck.check().getStatus());
  }
@Test
  public void fail_when_db_connection_check_fail() {
    when(dbConnectionNodeCheck.check()).thenReturn(RED);

    Assertions.assertThat(underTest.liveness()).isFalse();
  }