assertEquals((byte)5, bytes[1]);
assertEquals((byte)6, bytes[2]);
assertEquals(-1, sm.readBytes(bytes));
assertEquals((char)7, sm.readChar());
assertEquals(new Double(8.0), new Double(sm.readDouble()));
assertEquals(new Float(9.0), new Float(sm.readFloat()));
assertEquals(10, sm.readInt());
assertEquals(11l, sm.readLong());
assertEquals("this is an object", sm.readObject());
assertEquals((short)12, sm.readShort());
assertEquals("this is a String", sm.readString());