public void testResponseReceived() throws Exception {
mexDao.expects(exactly(3)).method("getCorrelationId").will(returnValue("corrId"));
final boolean[] responded = new boolean[1];
myRoleMexImpl.callbacks().put("corrId", new ResponseCallback() {
synchronized boolean responseReceived() {
responded[0] = true;
return true;
}