### Question:
MarkupParser { public static String cleanLink( final String link ) { return TextUtil.cleanString( link, TextUtil.PUNCTUATION_CHARS_ALLOWED ); } protected  MarkupParser( final Context context, final Reader in ); Reader setInputReader( final Reader in ); void addLinkTransmutator( final StringTransmutator mutator ); void addLocalLinkHook( final StringTransmutator mutator ); void addExternalLinkHook( final StringTransmutator mutator ); void addAttachmentLinkHook( final StringTransmutator mutator ); void addHeadingListener( final HeadingListener listener ); void disableAccessRules(); boolean isParseAccessRules(); void enableImageInlining( final boolean toggle ); boolean isImageInlining(); List< Pattern > getInlineImagePatterns(); abstract WikiDocument parse(); int getPosition(); static Element makeError( final String error ); static String cleanLink( final String link ); static String wikifyLink( final String link ); static final String PROP_ALLOWHTML; static final String PROP_RUNPLUGINS; static final String PROP_USEOUTLINKIMAGE; static final String PROP_USERELNOFOLLOW; static final String PROP_CAMELCASELINKS; static final String PROP_PLAINURIS; static final String PROP_USEATTACHMENTIMAGE; static final String HASHLINK; static final String OUTLINK_IMAGE; static final String OUTLINK; static final String CLASS_WIKIPAGE; static final String CLASS_EDITPAGE; static final String CLASS_INTERWIKI; static final String CLASS_FOOTNOTE; static final String CLASS_FOOTNOTE_REF; static final String CLASS_EXTERNAL; static final String CLASS_ATTACHMENT; static final String[] CLASS_TYPES; }### Answer:
@Test public void testCleanLink1() { Assertions.assertEquals( "--CleanLink--", MarkupParser.cleanLink("--CleanLink--") ); }
@Test public void testCleanLink2() { Assertions.assertEquals( "CleanLink", MarkupParser.cleanLink("??CleanLink??") ); }
@Test public void testCleanLink3() { Assertions.assertEquals( "Clean (link)", MarkupParser.cleanLink("Clean (link)") ); }