 all_expectations = []
+  
+
+clear_all_expectations = ->
+  all_expectations.length = 0
 
 
 class Expectation

  @verify: ->
    errors = _build_errors(@)
    throw new Error(errors) unless errors == ""
    
  #
  @reset: ->
    all_expectations.length = 0

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

        object[ expectation.method_name ] = expectation._original_method
      else
        delete object[ expectation.method_name ]
    clear_all_expectations()
    


