I split the test and replaced any direct injection with dynamic resolution to avoid trying to inject beans from inactive contexts. Every test now checks if context is active and should it get negative answer, it successfully ends.
As for the change in mp_checkstyle_rules.xml - I am fine reverting that if you ask for it, but if you wouldn't mind removing it, I think it's a bit overzealous rule. This is probably the sole project where I am seeing this right curly limitations and checkstyle is giving me hell every time :)
Fixes #170
I split the test and replaced any direct injection with dynamic resolution to avoid trying to inject beans from inactive contexts. Every test now checks if context is active and should it get negative answer, it successfully ends.
As for the change in
mp_checkstyle_rules.xml
- I am fine reverting that if you ask for it, but if you wouldn't mind removing it, I think it's a bit overzealous rule. This is probably the sole project where I am seeing this right curly limitations and checkstyle is giving me hell every time :)