public void setSerializerCT() throws Exception {
HttpQuery.initializeSerializerMaps(null);
final Channel channelMock = NettyMocks.fakeChannel();
final HttpRequest req = new DefaultHttpRequest(HttpVersion.HTTP_1_1,
HttpMethod.GET, "/");
req.headers().add("Content-Type", "application/json");
final HttpQuery query = new HttpQuery(tsdb, req, channelMock);
query.setSerializer();
assertEquals(HttpJsonSerializer.class.getCanonicalName(),
query.serializer().getClass().getCanonicalName());
}