Inheritance: Github.BlogEngine.Repositories.IArchiveRepository
 public void FirstYearFolderShouldHaveSubFolderOfMonthPosts()
 {
     var repository = new ArchiveRepository();
     var firstYear = repository.GetYearFolder().FirstOrDefault();
     Assert.IsNotNull(firstYear,"Could not load the first year folder from the repository");
     var monthPostsFolder = repository.GetMonthPostsFolder(firstYear.Sha);
     Assert.IsTrue(monthPostsFolder.Count > 0);
 }
        public void FilesShouldBeReturned()
        {
            var repository = new ArchiveRepository();
            var firstYear = repository.GetYearFolder()[1];
            Assert.IsNotNull(firstYear, "Could not load the first year folder from the repository");
            var monthPostsFolder = repository.GetMonthPostsFolder(firstYear.Sha);

            var monthPosts = repository.GetMonthPosts(monthPostsFolder.First().Sha);
            Assert.IsNotNull(monthPosts);
            Assert.IsTrue(monthPosts.Count > 0);
        }
 public void ShouldHaveRootArchiveFolders()
 {
     var repository = new ArchiveRepository();
     var yearFolder = repository.GetYearFolder();
     Assert.IsTrue(yearFolder.Count > 0);
 }