Esempio n. 1
0
        public void ThrowIfStatusNotSuccessfulTest()
        {
            //Arrange
            HttpResponseMessage response = null; // TODO: Initialize to an appropriate value

            //Act and Assert.
            ExceptionHelper.AssertThrows <Exception>(() => HttpClientExtensions.ThrowIfStatusNotSuccessful(response));
        }