public void ReturnsTrueForMasterBranch() { var context = new Context { BranchName = "master" }; var rule = new IsOfficialBuildRule(); Assert.AreEqual("True", rule.GetParameter(context).Value); }
public void ReturnsFalseForDevelopBranch() { var context = new Context { BranchName = "develop" }; var rule = new IsOfficialBuildRule(); Assert.AreEqual("False", rule.GetParameter(context).Value); }