public void Executing_command_should_executure_correct_handler_with_it() { var theCommand = new CommandWithExecutor(); ExecutorForCommandWithExecutor.Replay(); TheService.Execute(theCommand); ExecutorForCommandWithExecutor.AssertWasCalled(e => e.Execute(theCommand)); }