public GetErrorMessage ( BaseHtmlElement element ) : string | ||
element | BaseHtmlElement | The invalid element. |
리턴 | string |
public void GetErrorMessage() { var attribute = new TagAttribute("p"); attribute.GetErrorMessage(this.element).Should().Be("'button' tag does not match to 'p' tag"); }