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