Mockit.setUpMock(MockCmClusterValidator.class);
apiRootResource = Mockito.mock(ApiRootResource.class);
rootResourceV6 = new FakeRootResource();
rootResourceV7 = new FakeRootResourceV7();
Mockito.when(apiRootResource.getRootV6()).thenReturn(rootResourceV6);
Mockito.when(apiRootResource.getRootV7()).thenReturn(rootResourceV7);
Mockito.when(apiRootResource.getCurrentVersion()).thenReturn("v7");
}