public BuildHavingBuilder Branch(Action<BranchHavingBuilder> branchHavingBuilder) { var havingBuilder = new BranchHavingBuilder(); branchHavingBuilder(havingBuilder); m_Having.Add("branch:" + havingBuilder.GetLocator()); return this; }
public void Unspecified() { var branchHavingBuilder = new BranchHavingBuilder(); branchHavingBuilder.Unspecified(); branchHavingBuilder.GetLocator().Should().Be("unspecified:True"); }
public void NotUnspecified() { var branchHavingBuilder = new BranchHavingBuilder(); branchHavingBuilder.NotUnspecified(); branchHavingBuilder.GetLocator().Should().Be("unspecified:False"); }
public void DefaultFalse() { var branchHavingBuilder = new BranchHavingBuilder(); branchHavingBuilder.NotDefault(); branchHavingBuilder.GetLocator().Should().Be("default:False"); }
public void Default() { var branchHavingBuilder = new BranchHavingBuilder(); branchHavingBuilder.Default(); branchHavingBuilder.GetLocator().Should().Be("default:True"); }
public void Branched() { var branchHavingBuilder = new BranchHavingBuilder(); branchHavingBuilder.Branched(); branchHavingBuilder.GetLocator().Should().Be("branched:True"); }
public void NotBranched() { var branchHavingBuilder = new BranchHavingBuilder(); var havingBuilder = branchHavingBuilder.NotBranched(); var locator = havingBuilder.GetLocator(); locator.Should().Be("branched:False"); }
public void Name() { var branchHavingBuilder = new BranchHavingBuilder(); var havingBuilder = branchHavingBuilder.Name("Branch1"); var locator = havingBuilder.GetLocator(); locator.Should().Be("name:Branch1"); }
public void Name() { // Arrange var branchHavingBuilder = new BranchHavingBuilder(); // Act branchHavingBuilder.Name("Branch1"); // Assert branchHavingBuilder.GetLocator().Should().Be("name:Branch1"); }