@Test
public void test_validation() throws Exception {
InputStream swConfigStream = Classes.getResourceAsStream("xslt-config-01.xml", getClass());
try {
SwitchYardModel switchyardConfig = new ModelPuller<SwitchYardModel>().pull(swConfigStream);
switchyardConfig.assertModelValid();
} finally {
swConfigStream.close();
}
}