Ejemplo n.º 1
0
 /// <summary>
 /// Tvrdi, ze aktualny System.DateTime je teraz alebo potom
 /// </summary>
 /// <param name="actualContent">Aktualny Http content</param>
 /// <param name="name">Nazvy property objektov</param>
 /// <param name="value">Specifikovane hodnoty</param>
 public IAndHttpHandlerResponseMessageTestBuilder CheckShouldBeOnOrAfter(IDictionary <string, DateTime> values)
 {
     HttpResponseMessageValidator.ValidateContent(this.httpResponseMessage.Content, this.ThrowNewHttpResponseMessageAssertionException);
     values.ForEach(h => HttpResponseMessageValidator.ShouldBeOnOrAfter(this.httpResponseMessage.Content, h.Key, h.Value, this.ThrowNewHttpResponseMessageAssertionException));
     return(this);
 }