@Test(expected = IllegalArgumentException.class)
public void testAppendItemInvalidString() {

    new TableOfContentsCreator(new MergeParameters(), new PDDocument()).appendItem(" ", 10, new PDPage());
}