Exemplo n.º 1
0
        public void IsCommentAllowed_IfReply()
        {
            Comment comment = new Comment();
            comment.SetIsCommentAReply(true);

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

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