@Override
    public Class<?>[] getSupportedClasses() {
      return new Class[] {illegalClass};
    }
Tests that <code>RegistrationListener</code>s are invoked at the proper times.
geode-core/src/test/java/org/apache/geode/internal/DataSerializableJUnitTest.java