@Test public void testIsCommentCloseNullLine() { IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () -> { support.isCommentClose(null); }); assertThat(e.getMessage()).isEqualTo("Line cannot be null."); }
public boolean isCommentClose(final String line) { if (line == null) { throw new IllegalArgumentException("Line cannot be null."); } return line.contains("*/"); }
DocumentationParserSupport { public boolean isCommentClose(final String line) { if (line == null) { throw new IllegalArgumentException("Line cannot be null."); } return line.contains("*/"); } }
DocumentationParserSupport { public boolean isCommentClose(final String line) { if (line == null) { throw new IllegalArgumentException("Line cannot be null."); } return line.contains("*/"); }  }
DocumentationParserSupport { public boolean isCommentClose(final String line) { if (line == null) { throw new IllegalArgumentException("Line cannot be null."); } return line.contains("*/"); }  boolean isCommentClose(final String line); boolean isCommentStart(final String line); boolean isTagOpen(final String line); boolean isTerminatingTagOpen(final String line); String normalize(final String line); String stripCommentClose(final String line); }
DocumentationParserSupport { public boolean isCommentClose(final String line) { if (line == null) { throw new IllegalArgumentException("Line cannot be null."); } return line.contains("*/"); }  boolean isCommentClose(final String line); boolean isCommentStart(final String line); boolean isTagOpen(final String line); boolean isTerminatingTagOpen(final String line); String normalize(final String line); String stripCommentClose(final String line);  }