import org.bar.foo.entities.NewsPaper;
import org.bar.foo.entities.Novel;
public class BuilderBook {
public static Novel newNovel() {
Novel novel = new Novel();
novel.setId(1);
novel.setNbPages(500);
novel.setPrinterName("imprimerie");
novel.setReleaseDate(getDate(1948, 03, 30));
novel.setTitle("Foundation");
novel.setAuthors(new Author[] {newAuthor()});
novel.setEditors(new Editor[] {newEditor()});
novel.setChapters(new Chapter[] {newChapter(1), newChapter(2), newChapter(3)});
return novel;
}