Automagically set create the MockEndpoint and wrap the target endpoint inside, loading the environment from the managed beans
Removing unused code
Merge pull request #6 from CarlosManias/headless-testing

Adding some magic