public void FinishRelease()
        {
            var gf = new GitFlowWrapper(sampleRepoPath);

            gf.Init(new GitFlowRepoSettings());
            gf.StartRelease("1.0");
            gf.FinishRelease("1.0");
            using (var repo = new Repository(sampleRepoPath))
            {
                //Release branch should be deleted (default option)
                Assert.IsFalse(repo.Branches.Any(b => !b.IsRemote && b.Name == "release/1.0"));
            }
        }
 public void FinishRelease()
 {
     var gf = new GitFlowWrapper(sampleRepoPath);
     gf.Init(new GitFlowRepoSettings());
     gf.StartRelease("1.0");
     gf.FinishRelease("1.0");
     using (var repo = new Repository(sampleRepoPath))
     {
         //Release branch should be deleted (default option)
         Assert.IsFalse(repo.Branches.Any(b => !b.IsRemote && b.Name == "release/1.0"));
     }
 }