@Test
  public void testSerializerZero() {
    try {
      DataSerializer.register(DS0.class);
      fail("Should have thrown an IllegalArgumentException");

    } catch (IllegalArgumentException ex) {
      // pass...
    }
  }
Tests that registering a <code>Serializer</code> with id 0 throws an exception.
geode-core/src/test/java/org/apache/geode/internal/DataSerializableJUnitTest.java