             hinoki.inject container, (a) ->
                 test.equals a, 5
                 test.done()
-
-        'missing factory': (test) ->
-            container = {}
-
-            block = ->
-                hinoki.inject container, (a) ->
-
-            test.throws block, Error, "missing factory for service 'a'"
-            test.done()
 
         'three dependencies': (test) ->
             container =


    'inject':

        'single factory': (test) ->
            container =
                factories:
                    a: -> 5

                test.equals b, 2
                test.equals c, 4
                test.done()

        'one factory and two seeds': (test) ->
            container =
                scope:
                    a: 1
                    b: 2
                factories:
                    c: (a, b) -> a + b + 1

            hinoki.inject container, (a, b, c) ->
                test.equals a, 1
                test.equals b, 2
                test.equals c, 4
                test.done()
