@Test
public void testCompareTo()
{

    BaseDocumentation abc = new BaseDocumentation("abc",null);
    BaseDocumentation def = new BaseDocumentation("def",null);
    assertEquals(abc.getId().compareTo(def.getId()),abc.compareTo(def));
    assertEquals(def.getId().compareTo(abc.getId()),def.compareTo(abc));
    BaseDocumentation abcAlso = new BaseDocumentation("abc",new Description("duh"));
    assertEquals(0, abc.compareTo(abcAlso));
    assertEquals(0, abcAlso.compareTo(abc));
}