public void testBooleanEncoding() throws Exception {
    assertTrue((Boolean) tc.decode(tc.encode(true)));
    assertFalse((Boolean) tc.decode(tc.encode(false)));
  }
Basic behavior validation for all transcoders that work with objects.
src/test/java/net/spy/memcached/transcoders/BaseTranscoderCase.java