expect(component.getName()).andReturn("component1");
expect(component.getServiceComponentHost("host1")).andReturn(componentHost1);
expect(componentHost1.convertToResponse()).andReturn(response1);
expect(metaInfo.getComponentToService("stackName", "stackVersion", "component2")).andReturn("service2");
expect(cluster.getService("service2")).andThrow(new ServiceNotFoundException("cluster1", "service2"));
expect(metaInfo.getComponentToService("stackName", "stackVersion", "component3")).andReturn("service1");
expect(cluster.getService("service1")).andReturn(service);
expect(service.getServiceComponent("component3")).andReturn(component3);
expect(component3.getName()).andReturn("component3");