### Question:
HelpFile { Collection<HREF> getAllHREFs() { return anchorManager.getAnchorRefs(); } HelpFile(HelpModuleLocation help, Path file); Path getRelativePath(); boolean containsAnchor(String anchorName); Map<String, List<AnchorDefinition>> getDuplicateAnchorsByID(); AnchorDefinition getAnchorDefinition(Path helpPath); Collection<AnchorDefinition> getAllAnchorDefinitions(); Path getFile(); @Override String toString();  }### Answer:
@Test public void testCommentGetsIgnored() throws Exception { Path helpDir = createTempHelpDir(); addRequiredHelpDirStructure(helpDir); Path topic = createFakeHelpTopic(helpDir); DirectoryHelpModuleLocation helpLocation = new DirectoryHelpModuleLocation(helpDir.toFile()); Path html = createGoodHTMLFile_InvalidAnchor_CommentedOut_MultiLineComment(topic); HelpFile helpFile = new HelpFile(helpLocation, html); Collection<HREF> hrefs = helpFile.getAllHREFs(); assertTrue(hrefs.isEmpty()); }