@Test
public void testReadShort() {

	ByteBuffer byteBuffer = ByteBuffer.allocate(_COUNT * 2);
	byteBuffer.order(ByteOrder.BIG_ENDIAN);
	ShortBuffer shortBuffer = byteBuffer.asShortBuffer();
	short[] shorts = new short[_COUNT];
	for (int i = 0; i < _COUNT; i++) {
		shorts[i] = (short)_random.nextInt();
		shortBuffer.put(shorts[i]);
	}
	Deserializer deserializer = new Deserializer(byteBuffer);
	for (int i = 0; i < _COUNT; i++) {
		Assert.assertEquals(shorts[i], deserializer.readShort());
	}
}