@Test (groups = { "TestClouderaManagerImpl" }, dependsOnMethods = { "testStartStoppedCluster" })
public void testStopClusterGotException() {
setupMocks();
blueprint.getHadoopStack().setDistro("CDH-5.0.1");
ClustersResourceV6 resourceV6 = Mockito.mock(FakeClustersResource.class);
Mockito.when(resourceV6.stopCommand(blueprint.getName())).thenThrow(
SoftwareManagementPluginException.STOP_CLUSTER_FAILED(null, null, blueprint.getName()));
ServicesResourceV6 servicesResourceV6 = Mockito.mock(ServicesResourceV6.class);
List<ApiService> serviceList = new ArrayList<>();
ApiService hdfs = new ApiService();
hdfs.setName("HDFS");