super(ServiceDeployment.class);
}
protected ServiceDeployment getServiceDeployment() throws Exception
{
ServiceMetaData metaData = new ServiceMetaData();
metaData.setObjectName(new ObjectName("jboss.system:service=Tester"));
metaData.setCode(Tester.class.getName());
metaData.setConstructor(new ServiceConstructorMetaData());
ServiceDependencyMetaData o = new ServiceDependencyMetaData();
o.setIDependOn("somenonexistant");
metaData.setDependencies(Collections.singletonList(o));
ServiceDeployment serviceDeployment = new ServiceDeployment();
serviceDeployment.setServices(Collections.singletonList(metaData));
return serviceDeployment;
}