     cleanup_environment()
 
 
-new_ExpectsMethod = (expects_method_name, mock_methods)->
+ExpectsMethod = (expects_method_name, mock_methods)->
   
   expects_method = (method_name) ->
     check_usage(@, method_name, arguments.length)

    fail(messages.ExpectsMethodAlreadyExists, expects_method_name) if Object.prototype[expects_method_name]?

  install_expects_method = ->
    Object.prototype[expects_method_name] = new_ExpectsMethod(expects_method_name, mock_methods)

  uninstall_expects_method = ->
    delete Object.prototype[expects_method_name]

    fail(messages.ReservedMethodName, method_name) if is_reserved_method_name(method_name)
    
  install_mock_method = (self, method_name) ->
    mock_method = MockMethod(self, method_name)
    mock_method.install()
    mock_methods.register(mock_method)
    
