/// <summary> /// Tvrdenie, ze objekt sa rovna inemu objektu pomocou System.Object.Equals /// </summary> /// <typeparam name="T"></typeparam> /// <param name="actualContent">Aktualny Http content</param> /// <param name="name">Nazov property objektu</param> /// <param name="value">Ocakavana hodnota objektu</param> public IAndHttpHandlerResponseMessageTestBuilder CheckShouldEqual <T>(string name, T value) { HttpResponseMessageValidator.ValidateContent(this.httpResponseMessage.Content, this.ThrowNewHttpResponseMessageAssertionException); HttpResponseMessageValidator.ShouldEqual(this.httpResponseMessage.Content, name, value, this.ThrowNewHttpResponseMessageAssertionException); return(this); }