@Override
    public void fromData(PdxReader reader) {
      if (throwExceptionOnDeserialization) {
        throw new SerializationException("Deserialization should not be happening in this VM");
      }
    }
Test PDX object. This object will fail to be deserialized in the target VM.
geode-core/src/distributedTest/java/org/apache/geode/pdx/PdxDeserializationDUnitTest.java