I believe this test ist correct. Using testObj for throwing the exception will test if the proxy actually forwards the underlying cause of the exception that is thrown by the wrapped session.