private static final String SWITCHYARD_CONFIG = "switchyard-activator-impl-missing-ref.xml";
@Test (expected = SwitchYardException.class)
public void should_throw_if_serviceReference_is_missing() throws Exception {
final SwitchYardModel model = pullSwitchYardModel();
final Deployment deployment = new Deployment(model);
final ServiceDomain domain = new ServiceDomainManager().createDomain(ROOT_DOMAIN, deployment.getConfig());
final List<Activator> activators = ActivatorLoader.createActivators(domain);
deployment.init(domain, activators);
deployment.start();
}