    # File lib/spec/mocks/argument_expectation.rb, line 7
          def initialize(args, &block)
            @args = args
            @constraints_block = block

            if ArgumentConstraints::AnyArgsConstraint === args.first
              @match_any_args = true
            elsif ArgumentConstraints::NoArgsConstraint === args.first
              @constraints = []
            else
              @constraints = args.collect {|arg| constraint_for(arg)}
            end
          end