Ejemplo n.º 1
0
        public void Perform__CorrectData__Fill_DataPack_MessageGuid()
        {
            // Arrange.
            ServiceConfig.Conformation = new Сonformation
            {
                login    = "******",
                password = "******",
                certificateThumbprint = "0FC21AD8F0CE100EF455185A12C5DF811057D652",
                certificatePassword   = "",
                schemaVersion         = "10.0.0.6",
                soapConfiguration     = new AsyncRircGisService.Gis.Configurations.Sections.SoapConfiguration
                {
                    SoapTemplatePath            = @"Templates\soap-template.xml",
                    RequestHeaderTemplatePath   = @"Templates\request-header-template.xml",
                    ISRequestHeaderTemplatePath = @"Templates\is-request-header-template.xml"
                },
                baseUrl = "http://127.0.0.1:8080/"
            };

            exportOrgRegistryTask = new ExportOrgRegistryTask(dataPack);

            // Act.
            exportOrgRegistryTask.Prepare();

            exportOrgRegistryTask.Perform();

            // Assert.
        }