public void ConvertCurrencyMethodThrowsKeyNotFoundExceptionIfCurrencyIsUnrecognised()
        {
            //Arrange
            var basketCommandHandler = new BasketCommandHandler();

            //Act
            try
            {
                basketCommandHandler.ConvertCurrencyStringToSymbol("load of rubbish");
            }
            catch (KeyNotFoundException e)
            {
                return;
            }

            Assert.True(false, "Exception not raised.");
        }
        public void SumMethodReturnsCorrectTotalValue(decimal basketAmount, decimal basketAmount2, decimal basketAmount3, decimal expectedTotal)
        {
            //Arrange
            var basketCommandHandler = new BasketCommandHandler();
            var basketList = new List<BasketItem>
            {
                new BasketItem {Cost = basketAmount },
                new BasketItem {Cost = basketAmount2 },
                new BasketItem {Cost = basketAmount3 }
            };

            //Act

            var totalBasketValue = basketCommandHandler.SumBasketPrices(basketList);

            //Assert

            Assert.True(totalBasketValue == expectedTotal);
        }