expect(stackId.getStackName()).andReturn("HDP").anyTimes();
expect(stackId.getStackVersion()).andReturn("99").anyTimes();
expect(ambariMetaInfo.isValidServiceComponent("HDP", "99", "Service100", "Component100")).andReturn(true).anyTimes();
expect(serviceComponentFactory.createNew(service, "Component100")).andReturn(serviceComponent);
// replay
replay(managementController, response, clusters, cluster, service, stackId, ambariMetaInfo,
serviceComponentFactory, serviceComponent);