private AllByAttributeThrowsExceptionWithEmptyAttributeNameTest ( ) : void | ||
return | void |
public void AllByAttributeThrowsExceptionWithEmptyAttributeNameTest()
{
var target = Substitute.For<HtmlElementFinderBase<HtmlElement>>();
Action action = () => target.AllByAttribute(string.Empty, "Test");
action.ShouldThrow<ArgumentException>();
}