public void ThenIVerifyUserDetailsInResponseAsAnd(string name, string gender, string email, string status) { userResponse = Deserializer.DeserializeResponse <GetSpecificUserModel>(ObjectRepository.restResponse); Assert.AreEqual(name, userResponse.data.name); Assert.AreEqual(gender, userResponse.data.gender); Assert.AreEqual(email, userResponse.data.email); Assert.AreEqual(status, userResponse.data.status); }
public void ThenIReceiveTheResponseWithUserDetails() { userResponse = Deserializer.DeserializeResponse <GetSpecificUserModel>(ObjectRepository.restResponse); }