return invokeMapRequest(pattern, requestUrl, false);
}
private IRequestHandler invokeMapRequest(String pattern, String requestUrl, boolean exact)
{
final IMapperContext mockContext = mock(IMapperContext.class);
PatternMountedMapper mapper = new PatternMountedMapper(pattern, DummyHomePage.class) {
@Override
protected IMapperContext getContext()
{
return mockContext;