예제 #1
0
        public void NotUnspecified()
        {
            var branchHavingBuilder = new BranchHavingBuilder();

            branchHavingBuilder.NotUnspecified();

            branchHavingBuilder.GetLocator().Should().Be("unspecified:False");
        }
예제 #2
0
        public void Unspecified()
        {
            var branchHavingBuilder = new BranchHavingBuilder();

            branchHavingBuilder.Unspecified();

            branchHavingBuilder.GetLocator().Should().Be("unspecified:True");
        }
예제 #3
0
        public void DefaultFalse()
        {
            var branchHavingBuilder = new BranchHavingBuilder();

            branchHavingBuilder.NotDefault();

            branchHavingBuilder.GetLocator().Should().Be("default:False");
        }
예제 #4
0
        public void Default()
        {
            var branchHavingBuilder = new BranchHavingBuilder();

            branchHavingBuilder.Default();

            branchHavingBuilder.GetLocator().Should().Be("default:True");
        }
예제 #5
0
        public void Branched()
        {
            var branchHavingBuilder = new BranchHavingBuilder();

            branchHavingBuilder.Branched();

            branchHavingBuilder.GetLocator().Should().Be("branched:True");
        }
예제 #6
0
        public void Name()
        {
            // Arrange
            var branchHavingBuilder = new BranchHavingBuilder();

            // Act
            branchHavingBuilder.Name("Branch1");

            // Assert
            branchHavingBuilder.GetLocator().Should().Be("name:Branch1");
        }