public void PutApproved_OK_Test([Values(0)] int applyId) { _controller.Request.Method = HttpMethod.Get; var actual = _controller.PutApproved(applyId, new ApplyApprovedRequest() { Approved = 1, Reason = "Ok", }, new UserProfile()) as OkNegotiatedContentResult <ShopApplicationDto>; Assert.IsNotNull(actual); Assert.IsTrue(applyId == actual.Content.Id); }