@Override
          public DataSerializable newInstance(DataInput di) throws IOException {
            wasInvoked[0] = true;
            return CanonicalDataSerializableImpl.create(di.readByte());
          }
Tests that an <code>CanonicalInstantiator</code> is invoked at the appropriate times.
geode-core/src/test/java/org/apache/geode/internal/DataSerializableJUnitTest.java