public static SoapException Map(ExistingReviewException exception) { XmlDocument document = Make(existingReviewFault, existingIdElement, exception.ExistingId.ToString()); return(new SoapException(exception.Message, SoapException.ClientFaultCode, operation, document.DocumentElement)); }
public void SetUp() { ExistingReviewException exception = new ExistingReviewException(id); soapException = ExistingReviewMapper.Map(exception); }
public void SetUp() { ExistingReviewException exception = new ExistingReviewException(id); soapException = SoapExceptionMapper.Write(exception); }