class ActiveSupport::Testing::SimpleStubs

def stubbing(object, method_name)

(nil if it is not stubbed)
Returns the Stub for object#method_name
def stubbing(object, method_name)
  @stubs[object.object_id][method_name]
end