public void Should_display_response_messages_from_task() { DisplayResponseLineDTO responseMessage = ObjectMother.DisplayResponseLineDTO( ); using (mockery.Record( )) { SetupResult .For(mockTask.AuthenticateUserUsing(null)) .IgnoreArguments( ) .Return(responseMessage); mockView.Display(responseMessage); } using (mockery.Playback( )) { CreateSUT( ).Login( ); } }