Exemple #1
0
        public void AddInvoice_updates_Invoices_count()
        {
            var customer = new Customer();

            customer.AddInvoice(new Invoice());
            customer.AddInvoice(new Invoice());

            customer.Invoices.Count().Should().Be(2);
        }