### Question:
CommentUtils { public static boolean isEndMatchWithCommentedCDATA(String trimmedContent) { if (trimmedContent.endsWith(END_SCRIPT_COMMENT)) { int offset = trimmedContent.length()-3; while (trimmedContent.charAt(offset) <= ' ') { offset--; } if (trimmedContent.startsWith(CDATA_SIMPLE_END, offset - 2)) { return true; } } return false; }  static boolean isStartMatchWithCommentedCDATA(String trimmedContent); static boolean isEndMatchWithCommentedCDATA(String trimmedContent); static boolean isEndMatchtWithInlineCommentedXmlCommentTag(String trimmedContent); static boolean isStartMatchWithInlineCommentedCDATA(String trimmedContent); static boolean isEndMatchWithInlineCommentedCDATA(String trimmedContent); static final String INLINE_SCRIPT_COMMENT; static final String START_SCRIPT_COMMENT; static final String END_SCRIPT_COMMENT; static final String CDATA_SIMPLE_START; static final String CDATA_SIMPLE_END; static final String COMMENT_SIMPLE_START; static final String COMMENT_SIMPLE_END; }### Answer:
@Test public void testIsEndMatchWithCommentedCDATA() throws IOException { org.junit.Assert.assertTrue(CommentUtils.isEndMatchWithCommentedCDATA("fkdjslkfjsl "+CommentUtils.CDATA_SIMPLE_END+"*/")); org.junit.Assert.assertTrue(CommentUtils.isEndMatchWithCommentedCDATA("fkdjslkfjsl "+CommentUtils.CDATA_SIMPLE_END+" */")); org.junit.Assert.assertTrue(CommentUtils.isEndMatchWithCommentedCDATA("fkdjslkfjsl "+CommentUtils.CDATA_SIMPLE_END+"\n\t */")); }