public void testStrings() throws Exception {
    String s1 = "This is a simple test string.";
    CachedData cd = tc.encode(s1);
    assertEquals(getStringFlags(), cd.getFlags());
    assertEquals(s1, tc.decode(cd));
  }
Basic behavior validation for all transcoders that work with objects.
src/test/java/net/spy/memcached/transcoders/BaseTranscoderCase.java