Test case for ESBJAVA-3291

This class tests whether the SpringMediator is not hiding the error message in the custom java class.