protected static void AssertAttributeValue(TagHelperAttributeList attributes, string name, string value) { attributes .Count(a => a.Name.Equals(name, StringComparison.OrdinalIgnoreCase)) .ShouldBe(1); attributes[name].Value.ShouldBe(value); }