How can flatspecs behave functionality be used in conjunction with guice and injecting an application ?
In our setup we see calls to code marked below before the application is available and therefor no injector is there as well.
Basic example
it should behave like someControllerFunction(p1, p2, p3) {
//This is the block of code that gets executed before the injector and application is setup !
val classUnderTest = app.injector.instanceOf[ClassUnderTest]
classUnderTest.method()(_)
}