Beispiel #1
0
        public void LoadProductsTest_CountOfProductsInInitialStaticList_Equals_Success()
        {
            var expected = 4;
            var actual   = loadProductsById.LoadProducts(InitialStaticList).Count;

            Assert.AreEqual(expected, actual, 0.001);
        }
Beispiel #2
0
        public List <Product> LoadFromProductTransactionList(List <List <int> > transactionList)
        {
            ILoadProducts productLoader = new LoadProductsById();

            return(productLoader.LoadProducts(transactionList));
        }