FluentTc.Locators.BranchHavingBuilder.NotDefault C# (CSharp) Méthode

NotDefault() public méthode

public NotDefault ( ) : IBranchHavingBuilder
Résultat IBranchHavingBuilder
        public IBranchHavingBuilder NotDefault()
        {
            m_Having.Add("default:" + bool.FalseString);
            return this;
        }

Usage Example

        public void DefaultFalse()
        {
            var branchHavingBuilder = new BranchHavingBuilder();

            branchHavingBuilder.NotDefault();

            branchHavingBuilder.GetLocator().Should().Be("default:False");
        }