public void Check_UpdatePost_Type() { BlogPostController postController = new BlogPostController(); var updatedPost = new Post { Id = 1, Title = "Updated Post", Author = "Alejandro Recio", Content = "Updated Content" }; var post = postController.Update(1, updatedPost); Assert.IsType <OkObjectResult>(post); }