@Test
public void cannotRedirectWhenLogicMethodIsAnnotatedWithAnyHttpMethodButGet() throws Exception {

try {
	logicResult.redirectTo(MyComponent.class).annotated();
	fail("Expected IllegalArgumentException");
} catch (IllegalArgumentException e) {
	verify(response, never()).sendRedirect(any(String.class));
}
}