@Override
    public boolean toData(Object o, DataOutput out) throws IOException {
      fail("toData() should not be invoked");
      return false;
    }
A <code>DataSerializer</code> that provides default implementations of its methods.
geode-core/src/test/java/org/apache/geode/internal/DataSerializableJUnitTest.java