@Test
public void testTransformActionParser() {
assertActionCount(2);
assertActionClassAndName(TransformAction.class, "transform");
TransformAction action = getNextTestActionFromTest();
Assert.assertEquals(action.getTargetVariable(), "result");
Assert.assertTrue(StringUtils.hasText(action.getXmlData()));
Assert.assertNull(action.getXmlResourcePath());
Assert.assertTrue(StringUtils.hasText(action.getXsltData()));
Assert.assertNull(action.getXsltResourcePath());
action = getNextTestActionFromTest();
Assert.assertEquals(action.getTargetVariable(), "result");
Assert.assertFalse(StringUtils.hasText(action.getXmlData()));
Assert.assertNotNull(action.getXmlResourcePath());
Assert.assertEquals(action.getXmlResourcePath(), "classpath:com/consol/citrus/actions/transform-source.xml");
Assert.assertFalse(StringUtils.hasText(action.getXsltData()));
Assert.assertNotNull(action.getXsltResourcePath());
Assert.assertEquals(action.getXsltResourcePath(), "classpath:com/consol/citrus/actions/transform.xslt");
}