Exemple #1
0
        public void IsCommentAllowed_IfReply()
        {
            Comment comment = new Comment();
            comment.SetIsCommentAReply(true);

            Assert.IsFalse(comment.IsCommentAllowed());
        }
Exemple #2
0
        public void IsCommentAllowed_IfNotReply()
        {
            Comment comment = new Comment();
            comment.SetIsCommentAReply(false);

            Assert.IsTrue(comment.IsCommentAllowed());
        }