public void RepositorySnapshotBuilderBuildsExpectedStructureFromArguments()
        {
            var args = new RepositorySnapshotBuilderArguments(string.Empty,
                                                              DirPath,
                                                              "src",
                                                              new[] { ".cs" },
                                                              "lcov.info",
                                                              "hash",
                                                              default(DateTime),
                                                              MockRepo.CreateDiskIOWrapperMock()
                                                              .Object,
                                                              Mock.Of <IPathValidator>());

            var snapshot = args.Build();

            snapshot.Files
            .Should()
            .HaveCount(2);
            snapshot.AtHash.Match(x => x, () => string.Empty)
            .Should()
            .Be("hash");
            snapshot.CommitCreationDate.Match(x => x, DateTime.Today)
            .Should()
            .Be(default);