Exemple #1
0
        public async Task CurrentThrowsExceptionIfRevisionNotFound()
        {
            try
            {
                var rev = await _controller.Current("CurrentThrowsExceptionIfRevisionNotFound");

                Assert.Fail();
            }
            catch (HttpResponseException ex)
            {
                Assert.AreEqual(HttpStatusCode.NotFound, ex.Response.StatusCode);
            }
        }
Exemple #2
0
 public async Task CurrentThrowsExceptionIfRevisionNotFound()
 {
     var rev = await _controller.Current("CurrentThrowsExceptionIfRevisionNotFound");
 }