public EndpointResponse checkHealth() {
    return EndpointResponse.ok(getResponse());
  }
@Test
  public void shouldGetCachedResponse() {
    // Given:
    healthCheckResource.checkHealth();

    // When:
    final EndpointResponse response = healthCheckResource.checkHealth();

    // Then:
    assertThat(response.getEntity(), sameInstance(response1));
  }