class RSpec::Mocks::AnyInstance::Recorder

def has_expectation?(method_name)

def has_expectation?(method_name)
  @message_chains[method_name].is_a?(ExpectationChain)
end