ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(
byteArrayOutputStream.toByteArray());
ObjectInput deserialize = serialization.deserialize(url, byteArrayInputStream);
assertTrue(1.28 == deserialize.readDouble());
try {
deserialize.readDouble();
fail();
} catch (IOException expected) {