public bool Equals(HttpStateTest other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(Url, other.Url) && Equals(HttpMethod, other.HttpMethod) && HttpStatusCode == other.HttpStatusCode && RequestHeaders.EqualsHeaders(other.RequestHeaders) && ResponseHeaders.EqualsHeaders(other.ResponseHeaders) && string.Equals(_requestBodyStr, other._requestBodyStr) && string.Equals(_responseBodyStr, other._responseBodyStr)); }