Esempio n. 1
0
        public void CreateInvoiceTest()
        {
            Shoes       shoes     = randomFiller.CreateShoes();
            ShoesPair   shoesPair = randomFiller.CreateShoesPair(shoes);
            Client      client    = randomFiller.CreateClient();
            Transaction created   = randomFiller.CreateInvoice(client, shoesPair);

            Assert.IsFalse(created.Client == null);
            Assert.IsFalse(created.ShoesPair == null);
            Assert.AreEqual(created.Count, 1);
            Assert.IsFalse(created.Date == null);
        }