@Test
public void renderCrumbListTitle() {
final PageRenderLinkSource linkSource = this.getService(PageRenderLinkSource.class);
final BreadCrumbList breadCrumbList = new BreadCrumbList(true, 5);
BreadCrumbInfo info = new BreadCrumbInfo("msg1", linkSource.createPageRenderLink("page1"), "page1");
info.setTitle("PageTitle");
breadCrumbList.add(info);
breadCrumbList.add(new BreadCrumbInfo("msg2", linkSource.createPageRenderLink("page2"), "page2"));
this.getService(ApplicationStateManager.class).set(BreadCrumbList.class, breadCrumbList);
final Document page = this.renderPage("page2");
final String pageContent = page.toString();
assertTrue("page contains PageTitle", pageContent.contains("PageTitle"));