1
Assert.Throws<HttpResponseException>(() => ApiController.Post("query-params-string", "request-body-json"));
現在我想查看HttpResponseException.Response.StatusCode
NUnit的:扔HttpResponseException和訪問嵌入式HttpResponseMessage
內容沒有辦法做到這一點?