Esempio n. 1
0
        public async void ReturnPreminumEndorsementUnitTest()
        {
            ReturnPreminumEndorsementArgs returnPreminumEndorsementArgs = new ReturnPreminumEndorsementArgs()
            {
                insuredId        = "DEMOACCOUNT",
                insuredName1     = "JOHN",
                aisAccountNumber = "98000001",
                note1            = "SAMPLE NOTE 01",
                note2            = "SAMPLE NOTE 02"
            };

            returnPreminumEndorsementArgs.policies = new List <ReturnPreminumEndorsement_policy>()
            {
                new ReturnPreminumEndorsement_policy()
                {
                    policyNumber = "TESTPFPOLICY0001",
                    policyReturnPremiumAmount = "1000.00"
                }
            };

            HttpClientBase <ReturnPreminumEndorsement_policy> httpClientBase = new HttpClientBase <ReturnPreminumEndorsement_policy>();

            var result = await httpClientBase.ReturnPreminumEndorsement(returnPreminumEndorsementArgs);

            Assert.NotNull(result);
        }