Exemplo n.º 1
0
        public void ThenTheResponseWillNotContainTheInvalidState()
        {
            city = GetCity();

            VerifyAsserts.IsNull(city[0], "The invalid state is found in the response");
        }
Exemplo n.º 2
0
 public void ThenTheResponseShouldSendAInvalidStateMessage()
 {
     VerifyAsserts.IsNull(_content.RestResponse.count, "The Results is not null. It should have been null for this invalid State Abbrevation");
     VerifyAsserts.Contains(Convert.ToString(_content.RestResponse.messages), EnvironmentVariables.NoMatchingStateFoundMessage, "The no matching state found message is not returned in the response");
 }