@Test
public void testGetCompositeCounter() {

    Registry r = NoopRegistry.INSTANCE;
    List<Registry> list = new ArrayList<Registry>();
    list.add(r);
    CompositeCounter counter = new CompositeCounter(r.createId("xx"), list);
    counter.dec(1);
    counter.dec();
    counter.inc(2);
    counter.inc();
    Assert.assertEquals(0, counter.count());
}