public void testCompressedStringNotSmaller() throws Exception {
String s1="This is a test simple string that will not be compressed.";
// Reduce the compression threshold so it'll attempt to compress it.
tc.setCompressionThreshold(8);
CachedData cd=tc.encode(s1);
// This should *not* be compressed because it is too small
assertEquals(WhalinTranscoder.SPECIAL_STRING, cd.getFlag());
assertTrue(Arrays.equals(s1.getBytes(), cd.getData()));
assertEquals(s1, tc.decode(cd));
}