@Override
      public DataSerializable newInstance() {
        wasInvoked[0] = true;
        return new DataSerializableImpl();
      }
Tests that an <code>Instantiator</code> is invoked at the appropriate times.
geode-core/src/test/java/org/apache/geode/internal/DataSerializableJUnitTest.java