Exemplo n.º 1
0
        public void checkValidResponseForAddress2()
        {
            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.CompareResponseDataForAddress2Address(returnedAddress);
        }