### Question:
DocumentationParserSupport { public boolean isTerminatingTagOpen(final String line) { if (line == null) { throw new IllegalArgumentException("Line cannot be null."); } final String normalized = normalize(line); for (final String tag : terminatingTags) { if (normalized.startsWith(tag)) { return true; } } return false; }  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);  }### Answer:
@Test public void testIsTerminatingTagOpen() { final List<String> tags = Whitebox.getInternalState(support, "terminatingTags"); for (final String tag : tags) { assertThat(support.isTerminatingTagOpen("* " + tag + " and a little doc")) .as("Not marked as terminating tag: " + tag).isTrue(); } assertThat(support.isTerminatingTagOpen("* @value this is an enumerated value")).isFalse(); }
@Test public void testIsTerminatingTagOpenNullLine() { IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () -> { support.isTerminatingTagOpen(null); }); assertThat(e.getMessage()).isEqualTo("Line cannot be null."); }