@Test
  public void testUnspecialObject() throws Exception {
    Object o = new SerializableImpl(getRandom());

    DataOutputStream out = getDataOutput();
    DataSerializer.writeObject(o, out);
    out.flush();

    DataInput in = getDataInput();
    Object o2 = DataSerializer.readObject(in);
    assertEquals(o, o2);
  }
Tests serializing an object that is {@link DataSerializableJUnitTest.SerializableImpl not
specially cased}.
geode-core/src/test/java/org/apache/geode/internal/DataSerializableJUnitTest.java