@Test
public void testTail1() {

	final RingBuffer<Integer> ring = new RingBufferSimple<Integer>(1);
	assertEquals(ring.length(), 1);
	ring.setTail(100, 100);
	assertEquals(ring.tail(), 100);
	assertEquals(ring.get(100), (Integer) 100);
	ring.setTail(123, 100);
	assertEquals(ring.tail(), 123);
	assertEquals(ring.get(123), (Integer) 100);
}