public void InValidSearchByPublishDate()
        {
            var publishDate = "TestPublishDate";

            var catalogAdd     = new Dictionary <string, IList <IBook> >();
            var expextedResult = new List <IBook>();

            catalogAdd.Add(publishDate, expextedResult);

            var sut = new CatalogService(null, null, null, catalogAdd);

            sut.SearchByPublishDate("TestDate");
        }
        public void ValidSearchByPublishDate()
        {
            var publishDate = "publishDateTest";

            var catalogAdd     = new Dictionary <string, IList <IBook> >();
            var expectedResult = new List <IBook>();

            catalogAdd.Add(publishDate, expectedResult);

            var sut          = new CatalogService(null, null, null, catalogAdd);
            var actualResult = sut.SearchByPublishDate(publishDate);

            Assert.AreEqual(expectedResult, actualResult);
        }