コード例 #1
0
        public void ThrowWhenDriverIsNull()
        {
            //arrange / act /assert
            var axeBuilder = new AxeBuilder(null);

            axeBuilder.Should().NotBeNull();
        }
コード例 #2
0
        public void ThrowWhenOptionsAreNull()
        {
            //arrange
            var driver = new Mock <IWebDriver>();

            // act / assert
            var axeBuilder = new AxeBuilder(driver.Object, null);

            axeBuilder.Should().NotBeNull();
        }