   uuid = -> require('uuid').v4()
   createSpyObj = (args...) -> jasmine.createSpyObj args...
 
-  spyObjects =
+  mocks =
     component: (name = "component_#{uuid()}") -> createSpyObj name, ["resolve"]
     promise: (name = "promise_#{uuid()}") -> createSpyObj name, ["then"]
 

        it "returns the stored resolution", ->
          result = container.resolveComponent componentName
          expect(result).toEqual resolution


      beforeEach ->
        componentName = uuid()
        resolution = mocks.promise()
        component = mocks.component()

        components.set componentName, component
        spyOn(resolutions, 'set').and.callThrough()
