assertEquals(MockWikiImporter.mockContent, childTwo.getData().getContent());
assertEquals("Updating imported content... Done.", sentMessages);
}
private void addImportPropertyToPage(WikiPage page, boolean isRoot, boolean autoUpdate) throws Exception {
PageData data = page.getData();
String sourceUrl = FitNesseUtil.URL + "PageOne";
WikiImportProperty importProps = new WikiImportProperty(sourceUrl);
importProps.setRoot(isRoot);
importProps.setAutoUpdate(autoUpdate);
importProps.addTo(data.getProperties());
pageOne.commit(data);
}