Headless.UnitTests.HtmlElementFinderTests.AllByAttributeThrowsExceptionWithEmptyAttributeNameTest C# (CSharp) Method

AllByAttributeThrowsExceptionWithEmptyAttributeNameTest() private method

        public void AllByAttributeThrowsExceptionWithEmptyAttributeNameTest()
        {
            var target = Substitute.For<HtmlElementFinderBase<HtmlElement>>();

            Action action = () => target.AllByAttribute(string.Empty, "Test");

            action.ShouldThrow<ArgumentException>();
        }
HtmlElementFinderTests