@Test
public void testCompareToThrowsNullPointerExceptionBecauseIdIsNotSet()
{

    BaseDocumentation bd = new BaseDocumentation("abc",null);
    assertThrows(NullPointerException.class, () -> {
        bd.compareTo(new BaseDocumentation());
    });
}