public void SetUp()
        {
            userService = MockRepository.GenerateStub<IUserService>();
            countryRepository = MockRepository.GenerateStub<IRepository<Country>>();
            basketRepository = MockRepository.GenerateStub<IRepository<Basket>>();

            basketService = new BasketService(countryRepository, userService);

            basketController = new BasketController(
                basketService,
                basketRepository);

            testContext = new ControllerTestContext(basketController);

			user = new User { Baskets = { new Basket { Id = 4, Country = new Country() } } };
			userService.Expect(x => x.CurrentUser).Return(user);
        }
        public void SetUp()
        {
            basketItemRepository = MockRepository.GenerateStub<IRepository<BasketItem>>();
            sizeRepository = MockRepository.GenerateStub<IRepository<Size>>();

            userService = MockRepository.GenerateStub<IUserService>();
            postageService = MockRepository.GenerateStub<IPostageService>();
            countryRepository = MockRepository.GenerateStub<IRepository<Country>>();

            basketController = new BasketController(basketItemRepository,
                sizeRepository,
                userService,
                postageService,
                countryRepository);

            testContext = new ControllerTestContext(basketController);

			user = new User { Baskets = { new Basket() { BasketId = 4 } } };
			userService.Expect(x => x.CurrentUser).Return(user);
        }