public void SetUp()
        {
            _response = WebRequester.Post(ApplicationRoot + "/baskets/", new Basket());

            _basket = _response.Body;

            _basketUrl = _response["Location"];
        }
        public void SetUp()
        {
            var postResponse = WebRequester.Post(ApplicationRoot + "/baskets/", new Basket());

            var basketUrl = postResponse["Location"];

            _response = WebRequester.Get<Basket>(basketUrl + "/");

            _basket = _response.Body;
        }
 private void Given_a_basket()
 {
     var postBasketResponse = WebRequester.Post(ApplicationRoot + "/baskets/", new Basket(), Console.WriteLine);
     _basket = postBasketResponse.Body;
     _basketUrl = postBasketResponse["Location"];
 }