public void ThenApiResponseIsWithNotOkStatus() { apiResponse = RestAPIHelper.GetResponse(restRequest); Assert.AreEqual(apiResponse.StatusCode, System.Net.HttpStatusCode.NotFound); }
public void ThenValidateAlbumCountInApiResponse() { int intValue = RestAPIHelper.ReturnCount(requestFormat, apiResponse); Assert.IsTrue(intValue > 1, "Count not more than 1"); }
public void ThenValidateApiResponseIsForRequestedId() { string actualId = RestAPIHelper.ReturnId(requestFormat, apiResponse); Assert.AreEqual(actualId, idValue); }
public void GivenUserHasAnEndpointUsers() { RestAPIHelper.SetUrl(); }