@Test(expected=ValidationException.class)
public void shouldUseValidationVersionOfPageResult() throws Exception {

	when(result.use(PageResult.class)).thenReturn(new MockedPage());
	factory.instanceFor(PageResult.class, errors).forwardTo("any uri");
}