Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sisu-users] InjectedTest access injector

lookup(Injector.class) is exactly what I needed.  Thanks

 
Yes, you can always @Inject the Injector - what you can’t do is bind(Injector.class) in a module, which is what the error message indicates happened

I just did a quick test and both @Inject injector and lookup(Injector.class) work as expected in the InjectedTest class 

Back to the top