@Override
    public Object replace() throws IOException {
      return 42;
    }
A class that replaces itself with an <code>Integer</code> when written.
geode-core/src/test/java/org/apache/geode/internal/DataSerializableJUnitTest.java