.getLogger(TestMultiLineCursor.class);
@Test
public void testByteBufferCharSequence() {
ByteBuffer buf = ByteBuffer.wrap("This is a test".getBytes());
ByteBufferAsCharSequence bbcs = new ByteBufferAsCharSequence(buf);
assertEquals('T', bbcs.charAt(0));
assertEquals('h', bbcs.charAt(1));
assertEquals('i', bbcs.charAt(2));
assertEquals('s', bbcs.charAt(3));
assertEquals('s', bbcs.charAt(12));
assertEquals('t', bbcs.charAt(13));
}