/** * Wait for a number of messages. * * @return MockHandler mockhandler */ public MockHandler waitForFaultMessage() { waitFor(_faults, 1); return this; }
/** * Wait for a message. * * @return MockHandler mockhandler */ public MockHandler waitForOKMessage() { waitFor(_messages, 1); return this; }