public void ValidateClaimForTransfer_For_Invalid_HeaderStatusCodes() { AXAClaimTransferValidation claimValidation = new AXAClaimTransferValidation(); TestMethod method = delegate { claimValidation.ValidateClaimForTransfer(ClaimRefernce01, string.Empty); }; ValidateException(typeof(ValidationException), ClaimConstants.CLAIM_TRANSFER_INVALID_FOR_CLAIMHEADERSTATUSES, method); method = delegate { claimValidation.ValidateClaimForTransfer(ClaimRefernce02, string.Empty); }; ValidateException(typeof(ValidationException), ClaimConstants.CLAIM_TRANSFER_INVALID_FOR_CLAIMHEADERSTATUSES, method); method = delegate { claimValidation.ValidateClaimForTransfer(ClaimRefernce03, string.Empty); }; ValidateException(typeof(ValidationException), ClaimConstants.CLAIM_TRANSFER_INVALID_FOR_CLAIMHEADERSTATUSES, method); method = delegate { claimValidation.ValidateClaimForTransfer(ClaimRefernce04, string.Empty); }; ValidateException(typeof(ValidationException), ClaimConstants.CLAIM_TRANSFER_INVALID_FOR_CLAIMHEADERSTATUSES, method); }
public void ValidateClaimForTransfer_For_Invalid_ClaimReference() { AXAClaimTransferValidation claimValidation = new AXAClaimTransferValidation(); TestMethod method = delegate { claimValidation.ValidateClaimForTransfer(ClaimRefernce01 + "INVALID", string.Empty); }; ValidateException(typeof(ValidationException), MessageConstants.CLAIM_INVALID_CLAIMREFERENCE, method); }