assertXWikiURL(xwikiURL, "view", new DocumentReference("Wiki", "Space", "My;Page"));
}
private XWikiURL createURL(String url, final boolean isDomainBasedWikiFormat, final String expectedHost)
throws Exception
{
<BUG>this.mockery.checking(new Expectations() {{
</BUG>
allowing(mockHostResolver).resolve(expectedHost);
will(returnValue(new WikiReference("Wiki")));
allowing(mockConfiguration).isPathBasedMultiWikiFormat();

assertXWikiURL(xwikiURL, "view", new DocumentReference("Wiki", "Space", "My;Page"));
}
private XWikiURL createURL(String url, final boolean isDomainBasedWikiFormat, final String expectedHost)
throws Exception
{
getMockery().checking(new Expectations() {{
allowing(mockHostResolver).resolve(expectedHost);
will(returnValue(new WikiReference("Wiki")));
allowing(mockConfiguration).isPathBasedMultiWikiFormat();
