public void GitDescribeProvider_returns_nulls_for_invalid_revision() { var commitId = ObjectId.Random(); _module.GetDescribe(commitId).Returns(x => null); var(precedingTag, commitCount) = _provider.Get(commitId); precedingTag.Should().BeNullOrEmpty(); commitCount.Should().BeNullOrEmpty(); }