@Test
  public void testNonSerializableDeepCopy() {
    NonSerializable n = new NonSerializable();
    try {
      NonSerializable m = CopyHelper.deepCopy(n);
      fail("expected a CopyException for a non serializable");
    } catch (final CopyException ignored) {
    }
  }
Tests the functionality of the {@link CopyHelper#copy} method and the builtin copy-on-get Cache
functions.

@since GemFire 4.0
geode-core/src/integrationTest/java/org/apache/geode/CopyJUnitTest.java