         object[ expectation.method_name ] = expectation._original_method
       else
         delete object[ expectation.method_name ]
-    Expectation.reset()
+    clear_all_expectations()
     
 
 

all_expectations = []


class Expectation

  @verify: ->
    errors = _build_errors(@)
    throw new Error(errors) unless errors == ""

  constructor: (object, method_name) ->
    @_object = object
