awaitMessages(nExpectedOut, nExpectedIn, 10000);
}
private void awaitMessages(int nExpectedOut, int nExpectedIn, int timeout) {
MessageRecorder mr = new MessageRecorder(outRecorder, inRecorder);
mr.awaitMessages(nExpectedOut, nExpectedIn, timeout);
}
private void removeRMInterceptors(List<Interceptor> interceptors) {
for (Iterator<Interceptor> it = interceptors.iterator(); it.hasNext();) {
Interceptor i = it.next();