     
   mock_method.create_expectation = ->
     expectation = new Expectation()
-    expectations.add(expectation)
+    expectations.register(expectation)
     expectation
 
   mock_method.restore_original_method = ->

  constructor: ->
    @_list = []

  add: (mock_method) ->
    @_list.push(mock_method)
    
  contains: (mock_method) ->

  constructor: ->
    @_list = []
    
  register: (expectation) ->
    @_list.push(expectation)

  # returns undefined if not found
