public void testInsertEndTagBeforeTag() throws ParserException {
String currentLine = "<a href=s/7509><b>Yahoo! Movies</b></a>";
Tag tag = new Tag(new TagData(0, 14, "a href=s/7509", currentLine));
LinkScanner linkScanner = new LinkScanner();
String newLine = linkScanner.insertEndTagBeforeNode(tag, currentLine);
assertEquals("Expected insertion", "</A><a href=s/7509><b>Yahoo! Movies</b></a>", newLine);
}
/**
* A bug in the freshmeat page - really bad html tag -