FluentTc.Locators.BranchHavingBuilder.NotDefault C# (CSharp) Method

NotDefault() public method

public NotDefault ( ) : IBranchHavingBuilder
return 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");
        }