@Test
public void testReadObjectInteger() throws ClassNotFoundException {

	ByteBuffer byteBuffer = ByteBuffer.allocate(5);
	byteBuffer.put(SerializationConstants.TC_INTEGER);
	byteBuffer.putInt(101);
	byteBuffer.flip();
	Deserializer deserializer = new Deserializer(byteBuffer);
	Object object = deserializer.readObject();
	Assert.assertTrue(object instanceof Integer);
	Assert.assertSame(101, object);
}