@Test
public void testToByteArray() {

	UnsyncByteArrayOutputStream unsyncByteArrayOutputStream =
		new UnsyncByteArrayOutputStream();
	unsyncByteArrayOutputStream.write(_BUFFER);
	byte[] bytes1 = unsyncByteArrayOutputStream.toByteArray();
	Assert.assertTrue(Arrays.equals(_BUFFER, bytes1));
	byte[] bytes2 = unsyncByteArrayOutputStream.toByteArray();
	Assert.assertTrue(Arrays.equals(_BUFFER, bytes2));
	Assert.assertNotSame(bytes1, bytes2);
}