public void TestTrolleyTotal_ZeroPriceProducts()
        {
            var query = new Dictionary <string, StringValues>();
            var body  = LoadJson("Mockdata\\trolleyTotal_zeroPriceProduct.json");

            var result = WxAnswers.TrolleyCalculator(req: HttpRequestSetup(query, body), log: log).Result;

            Assert.IsInstanceOfType(result, typeof(BadRequestResult));
        }
        public void TestTrolleyTotal_ZeroSpecials()
        {
            var query = new Dictionary <string, StringValues>();
            var body  = LoadJson("Mockdata\\trolleyTotal_zeroSpecials.json");

            var result = WxAnswers.TrolleyCalculator(req: HttpRequestSetup(query, body), log: log).Result;

            Assert.IsNotInstanceOfType(result, typeof(BadRequestResult));

            var resultObject = (OkObjectResult)result;

            Assert.AreEqual(resultObject.Value, 1040.0);
        }