Ejemplo n.º 1
0
        public async Task PostGeneratedXMLTest()
        {
            var requestString = GenerateGAARPostRequestFactory.CreateGAARPostRequestObject(File.ReadAllText("MismoXML.xml"));
            var response      = await HelperMethods.PostRequestToGAARRover(requestString);

            Trace.Write(response);
        }
Ejemplo n.º 2
0
        public async Task ExtractInformationFromGAARResponseTest()
        {
            var requestString = GenerateGAARPostRequestFactory.CreateGAARPostRequestObject(File.ReadAllText("MismoXML.xml"));
            var response      = await HelperMethods.PostRequestToGAARRover(requestString);

            var jsonString = HelperMethods.ExtractInformationFromGAARResponse(HelperMethods.SerializeJson(new OrderCalculationDataDto()), response);

            Trace.Write(jsonString);
        }
Ejemplo n.º 3
0
        public void GenerateXMLTest()
        {
            var requestString = GenerateGAARPostRequestFactory.CreateGAARPostRequestObject(File.ReadAllText("MismoXML.xml"));

            Trace.Write(requestString);
        }