@Test
public void testWriteByte() {

	Serializer serializer = new Serializer();
	byte[] bytes = new byte[_COUNT];
	_random.nextBytes(bytes);
	for (int i = 0; i < _COUNT; i++) {
		serializer.writeByte(bytes[i]);
	}
	ByteBuffer byteBuffer = serializer.toByteBuffer();
	Assert.assertArrayEquals(bytes, byteBuffer.array());
}