Example #1
0
        public void AllTenantsWantToRecordItemNameAndPrice()
        {
            var stockItems = new List <StockItem> {
                new StockItem {
                    Name = "A", Price = 10
                }
            };
            var shop = GildedStockManagerFactory.WithStock(stockItems);

            shop.StockList.Single().Name.Should().Be("A");
        }