@Test
   public void testNodesInfoExceptionBeforeNodesDiscovered() throws Exception {

       NodeChecker nodeChecker = new NodeChecker(jestClient, clientConfig);
       when(jestClient.execute(isA(Action.class))).thenThrow(new CouldNotConnectException("http://localhost:9200", new IOException("Test HttpHostException")));
       nodeChecker.runOneIteration();
       assertNotNull(nodeChecker.discoveredServerList);
       assertEquals(0, nodeChecker.discoveredServerList.size());
}