public PlaceClientRequestException(HttpResponse response)
     : base(String.Format(
             MessageTemplate,
             response.StatusCode,
             (HttpStatusCode)response.StatusCode,
             response.Body))
 {
 }
        public void SetUp()
        {
            _aRequest = new Request();

            _anOkHttpResponse = new HttpResponse { Success = true, StatusCode = 200, Body = "body-content" };
            _anInvalidHttpResponse = new HttpResponse { Success = false, StatusCode = 400 };
            _anNotFoundHttpResponse = new HttpResponse { Success = false, StatusCode = 404 };

            _mockedRequestBuilder = new Mock<IHttpRequestBuilder>();
            _mockedHttpClient = new Mock<IHttpClient>();
            _mockedSerializer = new Mock<IXmlSerializerWrapper>();

            _retriever = new ResourceRetriever(
                _mockedRequestBuilder.Object,
                _mockedHttpClient.Object,
                _mockedSerializer.Object);
        }