}
public void testValidateMediatorSerializationWithExternalResources() throws Exception {
validateMediatorFactory = new ValidateMediatorFactory();
validateMediatorSerializer = new ValidateMediatorSerializer();
String validateConfiguration = "<validate xmlns=\"http://ws.apache.org/ns/synapse\" " +
"source=\"//regRequest\">" +
"<schema key=\"file:synapse_repository/conf/sample/validate.xsd\" />" +
"<resource location=\"resource2.xsd\" key=\"resource2_xsd\" />" +