public void testInvalidCharacterSet() {
    try {
      ex.setCharset("Dustin's Kick Ass Character Set");
    } catch (RuntimeException e) {
      assertTrue(e.getCause() instanceof UnsupportedEncodingException);
    }
  }
Base tests of the base serializing transcoder stuff.
src/test/java/net/spy/memcached/transcoders/BaseSerializingTranscoderTest.java