@Test
public void shouldBuildBookPartsWithIllustration() throws Exception {
String partOneText = "[part \"part one\" illustration=resources/image.png]";
String partTwoText = "[part \"part two\"]";
Chapter first = new ChapterBuilder("first", "introduction",
"[section test]\nchpater 1 text", 1, sectionsManager).build();
Chapter second = new ChapterBuilder("second", "introduction",
"[section test]\nchpater 2 text", 2, sectionsManager).build();
Chapter third = new ChapterBuilder("third", "introduction",
"[section test]\nchpater 3 text", 3, sectionsManager).build();
List<BookPart> bookParts = new BookPartsBuilder(sectionsManager).addPartFrom(partOneText)
.addChaptersToLastAddedPart(Arrays.asList(first)).addPartFrom(partTwoText)
.addChaptersToLastAddedPart(Arrays.asList(second, third)).build();