# File lib/mspec/mocks/proxy.rb, line 105
105:   def with(*args)
106:     raise ArgumentError, "you must specify the expected arguments" if args.empty?
107:     @arguments = *args
108:     if (behaves_like_ruby_1_9 = *[])
109:       @arguments = @arguments.first if @arguments.length <= 1
110:     end
111:     self
112:   end