예제 #1
0
        public void Ban_ShouldCallInsertCommentOnceWhenCommentEntity()
        {
            // Act
            _commentService.Ban(_comment.Id, BanDuration.OneDay);

            // Assert
            Assert.True(true);
        }
예제 #2
0
        public void Ban_NotImplementedException()
        {
            var fakeUserId = Guid.NewGuid();

            var res = _sut.Ban(BanPeriod.Week, fakeUserId);

            Assert.True(res == BanPeriod.Week);
        }