    @Test
    public void performMatchingServiceHealthCheck_shouldReturnResultFromHandler() {

        final String failureDescription = "some-error-description";
        AggregatedMatchingServicesHealthCheckResult result = new AggregatedMatchingServicesHealthCheckResult();
        result.addResult(unhealthy(aMatchingServiceHealthCheckDetails().withDetails(failureDescription).build()));
        when(handler.handle()).thenReturn(result);

        final Response response = matchingServiceHealthCheckResource.performMatchingServiceHealthCheck();

        AggregatedMatchingServicesHealthCheckResult returnedResult = (AggregatedMatchingServicesHealthCheckResult)response.getEntity();
        assertThat(returnedResult).isEqualTo(result);
    }