public void HttpRequestShouldBeSucces() { string address = RequestApi.AddressForm(); XmlReader reader = RequestApi.HttpRequest(address); Assert.IsNotNull(reader); }
public void DataIsNotNull() { string address = RequestApi.AddressForm("Q-330"); XmlReader reader = RequestApi.HttpRequest(address); data data = Program.dataDeserialize(reader, serializer); Assert.IsNotNull(data); }
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); }