예제 #1
0
        public void DataRepositoryCatalogTest()
        {
            Dictionary <int, Data.Book> catalog = repository.GetBookCatalog();

            Assert.IsTrue(catalog.ContainsValue(repository.GetBook(1)));
        }
예제 #2
0
 //getters
 public Dictionary <int, Data.Book> GetBookCatalog()
 {
     return(repository.GetBookCatalog());
 }