public async Task TestException() { await Assert.ThrowsAsync <UnexpectedHttpStatusCodeException>(async() => await _controller.GetValueException()); }
public async Task TestException() { await Assert.ThrowsAsync <InvalidOperationException>(async() => await _controller.GetValueException()); }