@Test
public void testReportSnappy() {

    LookoutConfig config = new LookoutConfig();
    AddressService addressService = new DefaultAddressService();
    Registry registry = new DefaultRegistry();
    HttpObserver observer = new HttpObserver(config, addressService, registry,
        new TestHttpRequestProcessor());
    observer.reportSnappy2Agent(new Address("localhost"), "hellohello", null);
    Assert.assertEquals(12, httpPost.getEntity().getContentLength());
}