Assert.assertEquals(new QName("m1app"), switchyard.getQName());
final String tns = "urn:m1app:example:1.0";
CompositeModel composite = switchyard.getComposite();
Assert.assertEquals("m1app", composite.getName());
Assert.assertEquals(new QName(tns, "m1app"), composite.getQName());
CompositeServiceModel compositeService = composite.getServices().iterator().next();
Assert.assertEquals("M1AppService", compositeService.getName());
Assert.assertEquals(new QName(tns, "M1AppService"), compositeService.getQName());
ComponentModel component = composite.getComponents().iterator().next();
Assert.assertEquals("SimpleService", component.getName());
Assert.assertEquals(new QName(tns, "SimpleService"), component.getQName());
ComponentServiceModel componentService = component.getServices().iterator().next();
Assert.assertEquals("SimpleService", componentService.getName());