@Override
    public long addedCount() {
        return tail;
    }
@Test
    public void testAddedCount() {
        assertEquals(0, queue.addedCount());

        queue.offer(1);

        assertEquals(1, queue.addedCount());
    }