@Test
public void testRefreshServicesNotModified()
        throws Exception
{

    ServiceDescriptors descriptors = createClient(
            request -> mockResponse()
                    .status(NOT_MODIFIED)
                    .header("ETag", "newEtag")
                    .header("Cache-Control", "max-age=123")
                    .build())
            .refreshServices(new ServiceDescriptors("testService", "testPool", EXPECTED_SERVICE_DESCRIPTOR_LIST, new Duration(1, HOURS), "oldEtag"))
            .get();
    assertDescriptorsExpected(descriptors, "newEtag", new Duration(123, SECONDS));
}