public void TestDelete() { ICommentsDAL commentsDAL = new CommentsDALImplementacion(); Assert.AreEqual(true, commentsDAL.Delete(13)); }
public void TestUpdate() { ICommentsDAL commentsDAL = new CommentsDALImplementacion(); Comment comment = commentsDAL.Get(1); comment.Content = "Comment MOdificada"; Assert.AreEqual(true, commentsDAL.Update(comment)); }
public void TestAdd() { ICommentsDAL CommentDAL = new CommentsDALImplementacion(); Comment comment = new Comment { Content = "Prueba" }; Assert.AreEqual(true, CommentDAL.Add(comment)); }