     it 'can remove existing mappings', ->
       @injector.map('test').to 'test'
       @injector.remove 'test'
-      expect(=> @injector.get 'test').to.throw Error
+      expect(=> @injector.get 'test').to.throw
 
     it 'provides an alias for getting values', ->
       @injector.map('test').to 'test'

      expect(@injector.get('myObject').test).to.equal testValue

    it 'throws error if mapping doesnt exist', ->
      expect(=> @injector.get('blablub')).to.throw Error

    it 'auto-maps singletons', ->
      first = @injector.get 'Space.Injector'

      expect(@injector.get('Space')).to.equal Space

    it 'throws if the auto-map value is undefined', ->
      expect(=> @injector.get('NotExistingValue')).to.throw

    it 'throws error if mapping would be overriden', ->
      @injector.map('test').to 'test'
