Mockito.when(resourceV6.readClusters((DataView) anyObject())).thenReturn(apiClusterList);
RootResourceV6 fakeRootResourceV6 = Mockito.mock(FakeRootResource.class);
Mockito.when(fakeRootResourceV6.getClustersResource()).thenReturn(resourceV6);
FakeHostsResource fakeHostsResource = Mockito.mock(FakeHostsResource.class);
ApiHost apiHost = Mockito.mock(ApiHost.class);
Mockito.when(apiHost.getIpAddress()).thenReturn("127.0.0.1");
Mockito.when(fakeHostsResource.readHost(anyString())).thenReturn(apiHost);
Mockito.when(fakeRootResourceV6.getHostsResource()).thenReturn(fakeHostsResource);
Mockito.when(apiRootResource.getRootV6()).thenReturn(fakeRootResourceV6);
boolean exceptionExist = false;