@Test
public void testReadObjectUnknowTCCode() throws ClassNotFoundException {

	ByteBuffer byteBuffer = ByteBuffer.allocate(1);
	byteBuffer.put((byte)12);
	Deserializer deserializer = new Deserializer(byteBuffer);
	try {
		deserializer.readObject();
	}
	catch (IllegalStateException illegalStateException) {
		Assert.assertEquals(
			"Unkown TC code 12", illegalStateException.getMessage());
	}
}