@Override
    public void reset() {
        containers.clear();
    }
@Test
    public void reset() {
        final String foo = "foo";
        final String bar = "bar";
        service.getOrCreateContainer(
                service.getRingbufferPartitionId(foo),
                RingbufferService.getRingbufferNamespace(foo),
                service.getRingbufferConfig(foo));
        service.getOrCreateContainer(
                service.getRingbufferPartitionId(bar),
                RingbufferService.getRingbufferNamespace(bar),
                service.getRingbufferConfig(bar));

        service.reset();

        assertEquals(0, service.getContainers().size());
    }