public BasketController(
     IBasketRepository basketRepository,
     IAddItemToBasketCommand addCommand,
     IBulkAddItemsToBasketCommand bulkAddCommand,
     IRemoveItemFromBasketCommand removeCommand,
     ICheckoutBasketCommand checkoutCommand)
 {
     _basketRepository = basketRepository;
     _addCommand       = addCommand;
     _bulkAddCommand   = bulkAddCommand;
     _removeCommand    = removeCommand;
     _checkoutCommand  = checkoutCommand;
 }
        public void Setup()
        {
            _basketRepository = Substitute.For <IBasketRepository>();
            _addCommand       = Substitute.For <IAddItemToBasketCommand>();
            _bulkAddCommand   = Substitute.For <IBulkAddItemsToBasketCommand>();
            _removeCommand    = Substitute.For <IRemoveItemFromBasketCommand>();
            _checkoutCommand  = Substitute.For <ICheckoutBasketCommand>();

            _controller = new BasketController(
                _basketRepository,
                _addCommand,
                _bulkAddCommand,
                _removeCommand,
                _checkoutCommand);
        }