Пример #1
0
 public void DeleteComment()
 {
     CommentsController controller = new CommentsController(new InitialData());
     int id = 1;
     Comment comment = controller.DeleteComment(id);
     Assert.IsNotNull(comment);
     Assert.AreEqual(comment.ID, id);
 }