Exemple #1
0
        public void HttpRequestShouldBeSucces()
        {
            string    address = RequestApi.AddressForm();
            XmlReader reader  = RequestApi.HttpRequest(address);

            Assert.IsNotNull(reader);
        }
Exemple #2
0
        public void DataIsNotNull()
        {
            string    address = RequestApi.AddressForm("Q-330");
            XmlReader reader  = RequestApi.HttpRequest(address);
            data      data    = Program.dataDeserialize(reader, serializer);

            Assert.IsNotNull(data);
        }
Exemple #3
0
        public void PropertyShoudlBeCorrect()
        {
            string    address = RequestApi.AddressForm("Q-330");
            XmlReader reader  = RequestApi.HttpRequest(address);
            data      data    = Program.dataDeserialize(reader, serializer);

            TestActionAttribute.Equals("Q-330", data._embedded.Purchase.Id);
        }