@Test
void failedToConnectToKibana() {

    when(httpClient.execute(any(HTTPRequest.class))).thenThrow(new HTTPClientException("failed to connect", "HTTP_REQUEST_FAILED", null));
    service.importObjects();
}