Added an assertion to avoid NPE if the test fails.

git-svn-id: https://svn.apache.org/repos/asf/axis/axis1/java/trunk@1571317 13f79535-47bb-0310-9956-ffa450edef68