예제 #1
0
        public async Task TestForValidAddCommentAsync()
        {
            //Arrange
            Feedback feedback = new Feedback()
            {
                Id = random.Next(10, 1000), UserId = random.Next(10, 1000), SenderUserId = random.Next(10, 1000), Comment = "NoComment", Like = true
            };

            //Action

            var isAdded = await _services.AddComment(feedback);

            //Assert
            Assert.True(isAdded);
        }