@Override
public boolean doMessageReceived(ChannelHandlerContext context, MessageEvent event, Channel channel) throws Exception {
Object msg = event.getMessage();
if(msg instanceof IcapResponse) {
IcapResponse response = (IcapResponse)msg;
assertEquals("wrong response type",IcapResponseStatus.CONTINUE,response.getStatus());
channel.write(DataMockery.createREQMODWithPreview100ContinueIcapChunk());
channel.write(DataMockery.createREQMODWithPreview100ContinueLastIcapChunk());
return true;
}
return false;