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