rdlowrey/Auryn — pull request #41 by Alexssssss (2013-12-27 09:19:23+00:00)
Title: Test case for issue #40

I've written a test case for my previous pull request, issue #40

Everything works fine as long as the shared class is instantiable then buildArgumentFromTypeHint() will pass the type hint along to make() which checks if it's a shared class and returns the shared one. If isInstantiable() fails for the type hint it won't pass it to make() but returns a InjectionException.

I'm sorry for not being clear enough in what the precise circumstances where when the bug appeared I hope this test case will clear everything up.