# File lib/rspec/mocks/message_expectation.rb, line 280
      def any_number_of_times(&block)
        @method_block = block if block
        @expected_received_count = :any
        self
      end