Exemplo n.º 1
0
        public async void AgentInformationChangeUnitTest()
        {
            AgentInformationChangeArgs agentInformationChangeArgs = new AgentInformationChangeArgs()
            {
                agentInfo = new AgentInformationChange_agentinfo()
                {
                    agentCode                   = "040999",
                    agentRequestType            = "C",
                    agentNameChangeFlag         = "N",
                    agentAddressChangeFlag      = "Y",
                    agentAddress                = "123 Main Street",
                    agentCity                   = "New York",
                    agentState                  = "NY",
                    agentZipCode                = "10001",
                    agentCodeCrossReference     = " ",
                    agentName                   = " ",
                    agentPhoneNumber            = "",
                    agentFaxNumber              = "",
                    agentEmailAddress           = "",
                    agentSSNFederalIdTypeFlag   = "",
                    agentSSNFederalId           = "",
                    agentMailOptionFlag         = "",
                    agentPhoneChangeFlag        = "N",
                    agentFaxChangeFlag          = "N",
                    agentEmailChangeFlag        = "N",
                    agentMailOptionChangeFlag   = "N",
                    agentSSNFederalIdChangeFlag = "N"
                }
            };

            HttpClientBase <AgentInformationChange_agentinfo> httpClientBase = new HttpClientBase <AgentInformationChange_agentinfo>();
            var result = await httpClientBase.AgentInformationChange(agentInformationChangeArgs);

            Assert.NotNull(result);
        }