question: public void expectFailure ( MessageInfo messageInfo , String faultCode ) { if ( messageInfo == null ) { expectedApiCalls . add ( new ApiCall ( FAILURE , new Object [ ] { faultCode } ) ) ; } else { expectedApiCalls . add ( new ApiCall ( FAILURE , new Object [ ] { messageInfo . getOrigin ( ) , messageInfo . getClient ( ) , messageInfo . getService ( ) , faultCode } ) ) ; } }
target:  Expect a failure with the given message info and fault code.