Automagically set create the MockEndpoint and wrap the target endpoint inside, loading the environment from the managed beans