# File lib/spec/mocks/proxy.rb, line 59 def add_stub(expected_from, sym, opts={}) __add sym @stubs.unshift MessageExpectation.new(@error_generator, @expectation_ordering, expected_from, sym, nil, :any, opts) @stubs.first end