     @called = false
     @_original_method = undefined
     _install_mock_method(@, object, method_name)
-    Expectation._all_expectations.push(@)
+    all_expectations.push(@)
 
   #
   # mock (my_mock) ->

    Expectation.verify()
  finally
    delete Object.prototype.expects
    for expectation in Expectation._all_expectations     # TODO: do this in reverse
      object = if typeof expectation._object == 'function' then expectation._object.prototype else expectation._object
      if expectation._original_method?
        object[ expectation.method_name ] = expectation._original_method

all_expectations = []


class Expectation
  
  #
  @verify: ->
