public void Ban_ShouldCallInsertCommentOnceWhenCommentEntity()
        {
            // Act
            _commentService.Ban(_comment.Id, BanDuration.OneDay);

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

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

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