// set dummy mediator to be called on fail
validate.addChild(testMediator);
Map props = new HashMap();
Entry prop = new Entry();
prop.setType(Entry.URL_SRC);
prop.setSrc(new URL("file:./../../repository/conf/sample/resources/validate/validate.xsd"));
props.put("xsd-key-1", prop);
Entry prop2 = new Entry();
prop2.setType(Entry.URL_SRC);
prop2.setSrc(new URL("file:./../../repository/conf/sample/resources/validate/validate2.xsd"));
props.put("xsd-key-2", prop2);
// test validate mediator, with static enveope
validate.mediate(TestUtils.getTestContext(INVALID_ENVELOPE_TWO_SCHEMAS, props));