     @_returns = undefined
     @_throws = undefined
     @called = false
-    @_original_method = undefined
     _install_mock_method(@, object, method_name)
     all_expectations.push(@)
 


uninstall_all_mocked_methods = ->
  for expectation in 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
    else
      delete object[ expectation.method_name ]

build_convenience_mock_objects = ->
  ( new Object() for i in [1..5] )

#
# all_expectations
#

# TODO: note about there not being that many expectations (i.e. typically fewer than 10?)
all_expectations = []

clear_all_expectations = ->
