@Test
public void shouldIncludeReturnValueOnForward() throws Exception {

givenDispatcherWillBeReturnedWhenRequested();
when(extractor.nameFor(String.class)).thenReturn("string");
logicResult.forwardTo(MyComponent.class).returnsValue();
verify(dispatcher).forward(request, response);
verify(request).setAttribute("string", "A value");
}