Exemplo n.º 1
0
        public void When_all_parameters_are_valid_Then_returns_SearchProperties(
            int index,
            IFindsByFluentSelector <IWebElement> webDriver,
            string locator,
            string value)
        {
            // Arrange, Act
            var actual = new SearchProperty <IWebElement>(locator, value, webDriver, index, 100.Milliseconds());

            // Assert
            actual.ShouldNotBeNull();
            actual.ShouldBeAssignableTo <ISearchProperty <IWebElement> >();
        }