### Question:
FSRL { @Override public String toString() { StringBuilder sb = new StringBuilder(); appendToStringBuilder(sb, true, true, true); return sb.toString(); } protected  FSRL(FSRL parent, String path); protected  FSRL(FSRL parent, String path, String md5); static FSRL fromString(String fsrlStr); static FSRL fromString(FSRL parent, String fsrlStr); FSRLRoot getFS(); int getNestingDepth(); String getPath(); String getName(); String getName(int nestedDepth); String getMD5(); FSRL withMD5(String newMD5); FSRL withPath(String newpath); FSRL withPath(FSRL copyPath); FSRL appendPath(String relPath); FSRLRoot makeNested(String fstype); @Override String toString(); String toPrettyString(); String toPrettyFullpathString(); String toStringPart(); List<FSRL> split(); boolean isEquivalent(String fsrlStr); boolean isEquivalent(FSRL other); boolean isDescendantOf(FSRL potentialParent); @Override int hashCode(); @Override boolean equals(Object obj); static final String PARAM_MD5; }### Answer:
@Test public void testCharEncode() throws MalformedURLException { StringBuilder sb = new StringBuilder(); for (int i = 0; i < 255; i++) { char c = (char) (i & 0xff); sb.append(c); } String orig = sb.toString(); String encoded = FSUtilities.escapeEncode(orig); String decoded = FSUtilities.escapeDecode(encoded); assertEquals(orig, decoded); }