sender.doSending(response);
return sender.sentData();
}
private MockRequest setupRequest() throws Exception {
WikiPage page = WikiPageUtil.addPage(root, PathParser.parse("PageOne"));
PageData data = page.getData();
data.setContent("some content");
WikiPageProperties properties = data.getProperties();
properties.set(TEST.toString(), "true");
properties.set("Suites", "filter1,filter2");
page.commit(data);
MockRequest request = new MockRequest();
request.setResource("PageOne");
request.addInput("Action", "Any");
request.addInput("Security", "Any");