Assert.assertEquals(connectorElement.elements("pre-processing-actions").size(), 1);
Element preProcessingActionsElement = connectorElement.element("pre-processing-actions");
Assert.assertEquals(preProcessingActionsElement.elements("action").size(), 1);
Element preProcessingActionElement = preProcessingActionsElement.element("action");
Assert.assertEquals(preProcessingActionElement.attributeCount(), 1);
Assert.assertEquals(preProcessingActionElement.attributeValue("className"), "org.mokai.types.mock.MockConfigurableAction");
validateProperties(preProcessingActionElement, "test1", "1");
// validate post-processing-actions
Assert.assertEquals(connectorElement.elements("post-processing-actions").size(), 1);