class RSpec::Mocks::MethodDouble

def add_expectation(error_generator, expectation_ordering, expected_from, opts, &implementation)

Other tags:
    Private: -
def add_expectation(error_generator, expectation_ordering, expected_from, opts, &implementation)
  configure_method
  expectation = message_expectation_class.new(error_generator, expectation_ordering,
                                              expected_from, self, :expectation, opts, &implementation)
  expectations << expectation
  expectation
end