Ejemplo n.º 1
0
        public void PriceList_should_allow_addition_of_items()
        {
            var prices = new PriceList();

            prices.AddItem(new Item("apple", 10f));
            prices.GetUnitPrice("apple").Should().Be(10f);
        }