   # private
 
   _build_convenience_mock_objects = ->
-    ( new Object() for i in [1..5] )
+    ( new Object() for i in [1..5] )        # => [ object, object, ... ]
 
   _run_test_function = (test_function, convenience_mocks) ->
     test_function.apply(undefined, convenience_mocks)

  
  _expectations = []
  
  _find_all_errors = ->
      ( expectation.find_errors() for expectation in _expectations ).join("")


  @register_expectation: (expectation) ->
    _expectations.push(expectation)
    
  @find_expectation_that_matches: (object, method_name, args...) ->
    for expectation in _expectations when expectation.matches(object, method_name, args...)
      return expectation
    undefined
