+ "\t<div><span class=\"error\">%s</span></div>" + NEW_LINE
+ "</div>" + NEW_LINE;
@Test
public void doesNotIncludeParent() throws Exception {
TestRoot root = new TestRoot();
WikiPage parent = root.makePage("ParentPage", "stuff");
WikiPage currentPage = root.makePage(parent, "PageOne", "!include <ParentPage");
ParserTestHelper.assertTranslatesTo(currentPage, String.format(HTML_ERR,
"<a href=\"ParentPage\"><ParentPage</a>",
"Error! Cannot include parent page (<ParentPage)."));
}