# File lib/facon/proxy.rb, line 18
    def add_stub(expected_from, method)
      add_method(method)

      # A stub is really an expectation that can be called any number of times.
      @stubs.unshift(Expectation.new(@error_generator, @expectation_ordering, expected_from, method, nil, :any))
      @stubs.first
    end