Assert.assertEquals("stuff", smooks_config.getData());
// Verify domain configuration
DomainModel domain = switchyard.getDomain();
Assert.assertEquals("TestDomain", domain.getName());
// Verify property configuration
PropertiesModel props = domain.getProperties();
Assert.assertEquals(8, props.getProperties().size());
Assert.assertEquals("bar", props.getPropertyValue("foo"));
Assert.assertEquals("fish", props.getPropertyValue("tuna"));
Assert.assertEquals(System.getProperty("user.name"), props.getPropertyValue("userName"));
Assert.assertEquals(System.getProperty("os.name"), props.getPropertyValue("osName"));
Assert.assertEquals("iam", props.getPropertyValue("whoIsWill"));
Assert.assertEquals("stuff", props.getPropertyValue("smooksConfig"));
Assert.assertEquals("MyWebService", props.getPropertyValue("soapServiceName"));
Assert.assertEquals("service", props.getPropertyValue("soapWsdlName"));
Assert.assertEquals(switchyard, domain.getSwitchYard());
// Verify artifact configuration
ArtifactsModel artifacts = switchyard.getArtifacts();
Assert.assertEquals(1, artifacts.getArtifacts().size());
ArtifactModel artifact = artifacts.getArtifact("OrderService");