@Test
public void assertBuildsSymbolicLinkSuffix() throws Exception{
Symbol contents = new Symbol(new Contents());
contents.add(new Symbol(SymbolType.Text, "-p"));
WikiPage root = InMemoryPage.makeRoot("RooT");
WikiPage pageOne = WikiPageUtil.addPage(root, PathParser.parse("PageOne"), "page one");
WikiPage pageOneChild = WikiPageUtil.addPage(pageOne, PathParser.parse("PageOne.PageOneChild"), "page one child");
// Make Symbolic Link at root that links to PageOne.PageOneChild.
SymbolicPage symPage = new SymbolicPage("SymPage", pageOneChild, root);
PageData data = root.getData();
data.getProperties().set(SymbolicPage.PROPERTY_NAME).set("SymPage", "PageOne.PageOneChild");