@Test
public void shoudNotExecuteLogicWhenUsingResultOf() {

	when(request.getRequestDispatcher(anyString())).thenReturn(dispatcher);
	try {
		view.of(SimpleController.class).notAllowedMethod();
	} catch (UnsupportedOperationException e) {
		fail("Method should not be executed");
	}
}