394395396397398399400401402403404
/** * @throws Exception */ public void testPageConstructor() throws Exception { Book mockBook = new Book("xxId", "xxName"); Page page = new ViewBook(mockBook); tester.startPage(page); // assertion tester.assertRenderedPage(ViewBook.class);
90919293949596979899100
{ private static final long serialVersionUID = 1L; public Page getTestPage() { Book mockBook = new Book("xxId", "xxName"); return new ViewBook(mockBook); } }); // assertion
159160161162163164165166167168169
403404405406407408409410411412413
7778798081828384858687
146147148149150151152153154155156
260261262263264265266267268269270
8687888990919293949596
155156157158159160161162163164165
399400401402403404405406407408409