novel.setChapters(new Chapter[] {newChapter(1), newChapter(2), newChapter(3)});
return novel;
}
public static NewsPaper newNewsPaper() {
NewsPaper newsPaper = new NewsPaper();
newsPaper.setDayOfYear(150);
newsPaper.setEditors(new Editor[] {newEditor()});
newsPaper.setId(11);
newsPaper.setNbPages(25);
newsPaper.setPrice(5.5);
newsPaper.setPrinterName("imprimerie de journaux");
newsPaper.setReleaseDate(getDate(2008, 03, 30));
newsPaper.setTitle("L'Humanit�");
newsPaper.setJournalist(new Journalist[] {newJournalist(),newJournalist()});
return newsPaper;
}