this.protocolHandler.requestReceived(this.conn);
Assert.assertEquals(MessageState.BODY_STREAM, state.getRequestState());
Assert.assertEquals(MessageState.READY, state.getResponseState());
final Incoming incoming = state.getIncoming();
Assert.assertNotNull(incoming);
Assert.assertSame(request, incoming.getRequest());
Assert.assertSame(this.requestHandler, incoming.getHandler());
Assert.assertSame(this.requestConsumer, incoming.getConsumer());
final HttpContext exchangeContext = incoming.getContext();
Assert.assertNotNull(exchangeContext);
Assert.assertSame(request, exchangeContext.getAttribute(HttpCoreContext.HTTP_REQUEST));
Assert.assertSame(this.conn, exchangeContext.getAttribute(HttpCoreContext.HTTP_CONNECTION));