@Override
    public void beforeRequest() {
        activeRequests.incrementAndGet();
        allRequestCount.incrementAndGet();
    }
@Test
    public void beforeRequest() {
        final InstanceStats stats = new InstanceStats();
        stats.beforeRequest();
        Assert.assertEquals(stats.getActiveRequests(), 1);
        Assert.assertEquals(stats.getAllRequestCount().get(), 1);
    }