class RSpec::Mocks::ErrorGenerator

def raise_expectation_on_unstubbed_method(method)

Other tags:
    Private: -
def raise_expectation_on_unstubbed_method(method)
  __raise "#{intro} expected to have received #{method}, but that " +
          "method has not been stubbed."
end