use of com.hazelcast.map.impl.querycache.accumulator.CyclicBuffer in project hazelcast by hazelcast.
the class CyclicBufferTest method testBufferSize_whenEmpty.
@Test
public void testBufferSize_whenEmpty() {
int maxCapacity = nextPowerOfTwo(10);
CyclicBuffer buffer = new DefaultCyclicBuffer(maxCapacity);
assertEquals("item count should be = " + 0, 0, buffer.size());
}
Aggregations