@Test
public void shouldPutParametersOnFlashScopeOnRedirect() throws Exception {

logicResult.redirectTo(MyComponent.class).withParameter("a");
verify(flash).includeParameters(any(ResourceMethod.class), eq(new Object[] {"a"}));
}