public void received(Channel channel, Object message) throws RemotingException {
Assert.fail();
}
};
HeaderExchangeHandler hexhandler = new HeaderExchangeHandler(exhandler);
hexhandler.received(mchannel, request);
Assert.assertEquals(1, count.get());
}
@Test(expected = IllegalArgumentException.class)
public void test_received_request_twoway_error_nullhandler() throws RemotingException{