# File lib/rspec/mocks/message_expectation.rb, line 304
      def with(*args, &block)
        self.inner_implementation_action = block if block_given? unless args.empty?
        @argument_list_matcher = ArgumentListMatcher.new(*args, &block)
        self
      end