class RSpec::Mocks::MethodDouble
def add_stub(error_generator, expectation_ordering, expected_from, opts={}, &implementation)
def add_stub(error_generator, expectation_ordering, expected_from, opts={}, &implementation) configure_method stub = MessageExpectation.new(error_generator, expectation_ordering, expected_from, @method_name, nil, :any, opts, &implementation) stubs.unshift stub stub end