faultCode + "] \nbut got\n[" + fault.getFaultCode() +
expectedCode + "] \nbut got\nfault code:[" + actualCode +
    public static void assertFaultMatches(AxisFault fault,                                          final QName faultCode,                                          final String text) {        String faultAsString = fault.getMessage();        assertEquals("expected [" +                faultCode +                "] \nbut got\n[" +                fault.getFaultCode() +                "]\n" +                faultAsString,                faultCode.toString(), fault.getFaultCode());        if (text != null) {            String message = fault.getMessage();            assertNotNull("fault reason is null in " + faultAsString, message);            assertTrue("expected [" +                    text +                    "] in " +                    message +                    " in \n" +                    faultAsString,                    message.indexOf(text) >= 0);        }    }