public static void validateInputProperties(Input input, Input testInput) {
Assert.assertEquals(testInput.getName(), input.getName());
Assert.assertEquals(testInput.isRequired(), input.isRequired());
if (testInput.getSourceXPath() != null && input.getSourceXPath() != null) {
SynapseXPath inputXpath = input.getSourceXPath();
SynapseXPath testXpath = testInput.getSourceXPath();
validateXpathExpressions(inputXpath, testXpath);
} else {
Assert.assertEquals(testInput.getSourceXPath(), input.getSourceXPath());
}
Assert.assertEquals(testInput.getSourceValue(), input.getSourceValue());