}
@Test
public void testLink() throws Throwable
{
LoadWebPage load = new LoadWebPage(null);
WebPage page = load.load("<a href=\"index.html\">Link <b>1</b></a>");
Assert.assertEquals(1,page.getContents().size());
DocumentRange span = page.getContents().get(0);
Assert.assertEquals(0, span.getBegin());
Assert.assertEquals(5, span.getEnd());