public void testGetPageHierarchyAsXml() throws Exception{ givenPages("PageOne", "PageOne.ChildOne", "PageTwo"); whenRequestIsIssued("root", "type:pages"); thenResponseShouldbeXML(); }