@Test
void testRead() throws IOException {

	Reader reader = new FastStringReader("ScalaScalaScala");
	assertTrue(reader.ready());
	assertEquals('S', reader.read());
	char[] dst = new char[4];
	assertEquals(4, reader.read(dst));
	assertArrayEquals(new char[]{'a', 'l', 'a'}, dst);
	reader.mark(15);
	CharBuffer buff = CharBuffer.allocate(15);
	assertEquals(10, reader.read(buff));
	assertEquals(5, buff.remaining());
	buff.flip();
	assertEquals("ScalaScala", buff.toString());
}