public void Count_is_0_Column_is_Revenue_and_Return_is_Argument_Exception()
        {
            var getInStock = new FackInStockCalculator();

            getInStock.SetFakeData(_instocks);
            getInStock.SumValue(0, "Revenue");
        }
        public void Count_is_3_Column_is_Not_in_DB_and_Return_is_Argument_Exception()
        {
            var getInStock = new FackInStockCalculator();

            getInStock.SetFakeData(_instocks);
            getInStock.SumValue(-1, "Bonus");
        }
        public void Count_is_4_Column_is_Revenue_and_Return_is_50_66_60()
        {
            var getInStock = new FackInStockCalculator();

            getInStock.SetFakeData(_instocks);

            List <int> expected = new List <int>()
            {
                50, 66, 60
            };
            List <int> actual = getInStock.SumValue(4, "Revenue");

            CollectionAssert.AreEqual(expected, actual);
        }
        public void Count_is_3_Column_is_Cost_and_Return_is_6_15_24_21()
        {
            var getInStock = new FackInStockCalculator();

            getInStock.SetFakeData(_instocks);

            List <int> expected = new List <int>()
            {
                6, 15, 24, 15
            };
            List <int> actual = getInStock.SumValue(3, "Cost");

            CollectionAssert.AreEqual(expected, actual);
        }