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

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

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