public void GettingFilteredCommitLog_WithNullBranch_ThrowsArgumentNullException()
        {
            // Arrange
            string branch = null;
            var    repo   = new Repository();

            // Act
            void GetCommitLog() => GitFunctionality.GetFilteredCommitLog(repo, branch);

            // Assert
            Assert.ThrowsException <ArgumentNullException>((Action)GetCommitLog);
        }
        protected override void OnStart(string[] args)
        {
            var branch = ConfigurationManager.AppSettings["Branch"];
            var file   = ConfigurationManager.AppSettings["StandupNotesFile"];
            var repo   = new Repository(ConfigurationManager.AppSettings["GitRepositoryDirectory"]);

            // Delete yesterday's notes.
            File.Delete(file);

            var commits = GitFunctionality.GetFilteredCommitLog(repo, branch);

            FileFunctionality.CreateNotesFile(file, FileFunctionality.CreateNotesContent(repo, commits));
        }