@Override
@Test
public void testRead() throws Exception {

	UnsyncBufferedReader unsyncBufferedReader = new UnsyncBufferedReader(
		new StringReader("ab\r\nef"), 3);
	char[] buffer = (char[])_bufferField.get(unsyncBufferedReader);
	Assert.assertEquals(Arrays.toString(buffer), 3, buffer.length);
	Assert.assertEquals(0, _indexField.getInt(unsyncBufferedReader));
	Assert.assertEquals('a', unsyncBufferedReader.read());
	Assert.assertEquals(1, _indexField.getInt(unsyncBufferedReader));
	Assert.assertEquals('b', unsyncBufferedReader.read());
	Assert.assertEquals(2, _indexField.getInt(unsyncBufferedReader));
	Assert.assertEquals('\r', unsyncBufferedReader.read());
	Assert.assertEquals(3, _indexField.getInt(unsyncBufferedReader));
	Assert.assertEquals('\n', unsyncBufferedReader.read());
	Assert.assertEquals(1, _indexField.getInt(unsyncBufferedReader));
	Assert.assertEquals('e', unsyncBufferedReader.read());
	Assert.assertEquals(2, _indexField.getInt(unsyncBufferedReader));
	Assert.assertEquals('f', unsyncBufferedReader.read());
	Assert.assertEquals(3, _indexField.getInt(unsyncBufferedReader));
	Assert.assertEquals(-1, unsyncBufferedReader.read());
}