public void ValidateIncorrectElement() { var attribute = new TagAttribute("div"); attribute.Validate(this.element).Should().BeFalse(); }
public void ValidateCorrectElement() { var attribute = new TagAttribute("button"); attribute.Validate(this.element).Should().BeTrue(); }