# File lib/rspec/mocks/message_expectation.rb, line 154
      def and_yield(*args, &block)
        yield @eval_context = Object.new.extend(RSpec::Mocks::InstanceExec) if block
        @args_to_yield << args
        @implementation = build_implementation
        self
      end