📅  最后修改于: 2022-03-11 14:49:09.001000             🧑  作者: Mango
[TestMethod]
public void TestGet()
{
IHttpActionResult actionResult = controller.Get();
var contentResult = actionResult as OkNegotiatedContentResult;
Assert.AreEqual("", contentResult.Content);
}