public void testManagedLocalTxPolicyDependency() throws Exception {
InputStream swConfigStream = Classes.getResourceAsStream("/switchyard-config-policy-tx-managedLocal.xml", getClass());
Deployment deployment = new Deployment(swConfigStream);
swConfigStream.close();
MockDomain serviceDomain = new MockDomain();
deployment.init(serviceDomain, ActivatorLoader.createActivators(serviceDomain));
deployment.start();
Service implService = deployment.getDomain().getServices(
new QName("urn:test:config-mock-binding:1.0", "TestService")).get(0);