}
}
private boolean serialization(String inputXml, MediatorFactory mediatorFactory, MediatorSerializer mediatorSerializer) throws XMLComparisonException {
XMLComparator comparator = new XMLComparator();
OMElement inputOM = createOMElement(inputXml);
Mediator mediator = mediatorFactory.createMediator(inputOM);
OMElement resultOM = mediatorSerializer.serializeMediator(null, mediator);
return comparator.compare(resultOM, inputOM);
}