public EndpointResponse checkHealth() {
    return EndpointResponse.ok(getResponse());
  }
@Test
  public void shouldCheckHealth() {
    // When:
    final EndpointResponse response = healthCheckResource.checkHealth();

    // Then:
    verify(healthCheckAgent).checkHealth();
    assertThat(response.getStatus(), is(200));
    assertThat(response.getEntity(), instanceOf(HealthCheckResponse.class));
  }