@Test
public void shouldCopyImagesFromIntroduction() throws IOException {
BookBuilder builder = builder("With images in intro");
List<AfcFile> chapterReaders = new ArrayList<AfcFile>();
String imageName = "introImage.jpg";
List<AfcFile> introductionReaders = Arrays.asList(new AfcFile(new StringReader("[chapter intro]\n[img " + imageName + "]"), "file from string"));
builder.addAllReaders(chapterReaders, introductionReaders);
Book book = builder.build();
new KindleModule().inject(book);
generator.generate(book, tempDir);
File introDir = new File(tempDir, IntroductionChaptersToKindle.RESOURCES_PATH);