public void TestPanEligibilityServiceReceiving_Eligible() { PanEligibilityRequest panEligibilityRequest = new PanEligibilityRequest(); panEligibilityRequest.ReceivingAccountNumber = 5184680430000006L; PanEligibility panEligibility = service.GetPanEligibility(panEligibilityRequest); Assert.IsTrue(panEligibility != null); Assert.IsTrue(panEligibility.RequestId != null && panEligibility.RequestId > 0); Assert.IsTrue(panEligibility.ReceivingEligibility.AccountNumber > 0); }
public void TestPanEligibilityService_NotEligible() { PanEligibilityRequest panEligibilityRequest = new PanEligibilityRequest(); panEligibilityRequest.SendingAccountNumber = 5184680990000024L; panEligibilityRequest.ReceivingAccountNumber = 5184680060000201L; PanEligibility panEligibility = service.GetPanEligibility(panEligibilityRequest); Assert.IsTrue(panEligibility != null); Assert.IsTrue(panEligibility.RequestId != null && panEligibility.RequestId > 0); Assert.IsTrue(panEligibility.SendingEligibility.AccountNumber > 0); Assert.IsTrue(panEligibility.ReceivingEligibility.AccountNumber > 0); Assert.IsTrue(panEligibility.SendingEligibility.Eligible == false); Assert.IsTrue(panEligibility.SendingEligibility.AccountNumber > 0); Assert.IsTrue(panEligibility.RequestId > 0); Assert.IsTrue(panEligibility.ReceivingEligibility.Eligible == false); Assert.IsTrue(panEligibility.ReceivingEligibility.AccountNumber > 0); }