Example #1
0
 public static void HasText(Tag tag, string text)
 {
     if (!tag.HasText(text))
         throw new AssertionException(
             string.Format("Tag with selector \"{0}\" does not have text \"{1}\".", tag.Selector, text));
 }