@Override
@Test
public void testBlockRead() throws IOException {

	UnsyncCharArrayReader unsyncCharArrayReader = new UnsyncCharArrayReader(
		_BUFFER);
	int size = _SIZE * 2 / 3;
	char[] buffer = new char[size];
	int read = unsyncCharArrayReader.read(buffer);
	Assert.assertEquals(size, read);
	for (int i = 0; i < read; i++) {
		Assert.assertEquals('a' + i, buffer[i]);
	}
	read = unsyncCharArrayReader.read(buffer);
	Assert.assertEquals(_SIZE - size, read);
	for (int i = 0; i < read; i++) {
		Assert.assertEquals('a' + i + size, buffer[i]);
	}
	Assert.assertEquals(-1, unsyncCharArrayReader.read(new char[1]));
}