Exemplo n.º 1
0
 /// <summary>
 /// Tvrdenie, ze System.String je jednou zo specifikovanych values
 /// </summary>
 /// <param name="actualContent">Aktualny Http content</param>
 /// <param name="name">Nazov property objektu</param>
 /// <param name="values">Specifikovane hodnoty</param>
 public IAndHttpHandlerResponseMessageTestBuilder CheckShouldBeOneOf(string name, IEnumerable <string> values)
 {
     HttpResponseMessageValidator.ValidateContent(this.httpResponseMessage.Content, this.ThrowNewHttpResponseMessageAssertionException);
     HttpResponseMessageValidator.ShouldBeOneOf(this.httpResponseMessage.Content, name, values, this.ThrowNewHttpResponseMessageAssertionException);
     return(this);
 }