コード例 #1
0
        public void AddToInventory()
        {
            Book      book  = new Book();
            Bookstore store = new Bookstore();

            store.GetInventory();

            store.AddToInventory(book);
            Assert.AreEqual(1, store.GetInventory().Count);
        }