Search in sources :

Example 1 with MessageExchangeValidator

use of org.apache.axis2.transport.testkit.MessageExchangeValidator in project wso2-axis2-transports by wso2.

the class MessageTestCase method runTest.

@Override
protected void runTest() throws Throwable {
    for (MessageExchangeValidator validator : validators) {
        validator.beforeSend();
    }
    doRunTest();
    for (MessageExchangeValidator validator : validators) {
        log.debug("Invoking message exchange validator " + validator.getClass().getName());
        validator.afterReceive();
    }
}
Also used : MessageExchangeValidator(org.apache.axis2.transport.testkit.MessageExchangeValidator)

Aggregations

MessageExchangeValidator (org.apache.axis2.transport.testkit.MessageExchangeValidator)1