public void expectSuccess(MessageInfo messageInfo){
  expectedApiCalls.add(new ApiCall(SUCCESS,new Object[]{messageInfo.getOrigin(),messageInfo.getClient(),messageInfo.getService()}));
}

public void expectSuccess ( MessageInfo messageInfo ) { expectedApiCalls . add ( new ApiCall ( SUCCESS , new Object [ ] { messageInfo . getOrigin ( ) , messageInfo . getClient ( ) , messageInfo . getService ( ) } ) ) ; }
expect a success with the given message info .
