public void IsHighlighted_should_return_false_if_revision_AuthorEmail_is_null_or_whitespace(string authorEmail)
        {
            var sut = new AuthorRevisionHighlighting();

            sut.IsHighlighted(new GitRevision(ObjectId.Random())
            {
                AuthorEmail = authorEmail
            }).Should().BeFalse();
        }
        public void IsHighlighted_should_return_true_if_revision_AuthorEmail_matches_AuthorEmailToHighlight(string authorEmail, string highlightEmail, bool expected)
        {
            var currentModule = NewModule();
            var sut           = new AuthorRevisionHighlighting();

            sut.ProcessRevisionSelectionChange(currentModule, new[] { NewRevisionWithAuthorEmail(highlightEmail) });
            sut.AuthorEmailToHighlight.Should().Be(highlightEmail);

            sut.IsHighlighted(new GitRevision(ObjectId.Random())
            {
                AuthorEmail = authorEmail
            }).Should().Be(expected);
        }
        public void IsHighlighted_should_return_false_if_revision_is_null()
        {
            var sut = new AuthorRevisionHighlighting();

            sut.IsHighlighted(null).Should().BeFalse();
        }