public void GetAllBranchesWhichContainGivenCommit_wellformed( string cmd, bool getLocal, bool getRemote, string output, string[] expected) { using (_executable.StageOutput(cmd + " " + Guid1.ToString(), output)) { var result = _gitModule.GetAllBranchesWhichContainGivenCommit(Guid1, getLocal, getRemote); Assert.AreEqual(result, expected); } }