@Test
public void testLinksTo()
{

    Footnote footnote = new Footnote("*",1);
    Footnote footnoteSameSymbol = new Footnote("*",2);
    Footnote footnoteDifferentSymbol = new Footnote("$",1);
    assertTrue(footnote.linksTo(footnoteSameSymbol));
    assertTrue(footnoteSameSymbol.linksTo(footnote));
    assertFalse(footnote.linksTo(footnoteDifferentSymbol));
    assertFalse(footnoteDifferentSymbol.linksTo(footnote));
}