public void DeleteComment_NotAuthorized_ReturnsUnauthorized() { // Arrange int userId = 1; int commentId = 2; // Act var result = _postsController.DeleteComment(commentId, userId).Result; // Assert Assert.IsType <UnauthorizedResult>(result); }