コード例 #1
0
ファイル: CommonSteps.cs プロジェクト: dinvine/EStroreAPITest
        public void ThenShouldGetResponseComformWithModel(string ResponseSchema)
        {
            Boolean jsonFormatIsValid = FunctionsShared.CompareJsonWithSchema(_settings.MyRestResponse.Content, ResponseSchema);

            Assert.IsTrue(jsonFormatIsValid, "Test failed due to response content did not conform the schema :" + ResponseSchema);
        }