How to use PowerMock with Java 7
A short introduction Nowadays it is pretty difficult to write self-contained unit tests for JEE applications. This is due to the fact that managed beans usually interact with the container in which they run and have a certain context at runtime. Two examples would be the usage of @Inject to inject dependencies and retrieving the … [Read more…]