Assert.assertEquals("Request failed.", HttpResponseStatus.OK, status.get());
Assert.assertEquals("Request failed.", "application/json", contentType.get());
Assert.assertEquals("Invalid content length", (Integer)17, contentLength.get());
Assert.assertTrue("The returned observable did not finish.", finishLatch.await(1, TimeUnit.MINUTES));
Assert.assertEquals("Unexpected actual number of bytes", 17, response.capacity());
}
@Test
public void shouldReturnNotFound() throws Exception {
HttpServer<ByteBuf, ByteBuf> server = RxNetty.createHttpServer(0, new WebappFileRequestHandler())