0x12, 0x34, 0x56, 0x78
});
ByteArrayInputStream in = new ByteArrayInputStream(array);
ObjectInputStream in2 = new ObjectInputStream(in);
expectEqual(true, in2.readBoolean());
expectEqual(17, in2.readByte());
expectEqual(0xcafebabe, in2.readInt());
expectEqual("Max & Möritz", in2.readUTF());
expectEqual('ɛ', in2.readChar());
Serialize unserialized = (Serialize) in2.readObject();
expectEqual(0x12345678, unserialized.dummy);