Пример #1
0
        public void checkValidResponse()
        {
            string responseFormat = _scenarioContext.Get <string>("ResponseFormat");
            var    response       = _scenarioContext.Get <IRestResponse>("Response");

            Assert.AreEqual(HttpStatusCode.OK, response.StatusCode);
            Address returnedAddress = TranslateResponseToObject(response.Content, responseFormat);

            TestDataHelper.CompareResponseDataForWholeAddress(returnedAddress);
        }