public async Task Return_WhenAllParametersArePassedAndAuthorIsAnonymous()
        {
            var feedbackText          = "text";
            var rating                = 5;
            var author                = "";
            var businessId            = 1;
            var paginatedListMocked   = new Mock <IPaginatedList <FeedbackDTO> >();
            var dateTimeWrapperMocked = new Mock <IDateTimeWrapper>();
            var censorMocked          = new Mock <ICensor>();

            FeedbackTestUtils.GetContextWithFullFeedbackAndAnonymousAuthor(nameof(Return_WhenAllParametersArePassedAndAuthorIsAnonymous), feedbackText, rating, author, businessId);

            using (var assertContext = new AlphaHotelDbContext(FeedbackTestUtils.GetOptions(nameof(Return_WhenAllParametersArePassedAndAuthorIsAnonymous))))
            {
                var feedbackService = new FeedbackService(assertContext, paginatedListMocked.Object, dateTimeWrapperMocked.Object, censorMocked.Object);
                await feedbackService.AddFeedbackAsync(feedbackText, rating, author, businessId);

                var feedback = await assertContext.Feedbacks.FirstOrDefaultAsync(s => s.BusinessId == businessId);

                Assert.AreEqual(feedbackText, feedback.Text);
                Assert.AreEqual(rating, feedback.Rate);
                Assert.AreEqual("Anonymous", feedback.Author);
                Assert.AreEqual(businessId, feedback.BusinessId);
                Assert.IsFalse(feedback.IsDeleted);
            }
        }
        public async Task ThrowException_WhenBusinessIsNotFound()
        {
            var text                  = "text";
            var rating                = 5;
            var author                = "gosho";
            var businessId            = 1;
            var wrongBusinessId       = 2;
            var feedbackId            = 1;
            var paginatedListMocked   = new Mock <IPaginatedList <FeedbackDTO> >();
            var dateTimeWrapperMocked = new Mock <IDateTimeWrapper>();
            var censorMocked          = new Mock <ICensor>();

            FeedbackTestUtils.GetContextWithFullFeedback(nameof(ThrowException_WhenBusinessIsNotFound), text, rating, author, businessId, feedbackId);

            using (var assertContext = new AlphaHotelDbContext(FeedbackTestUtils.GetOptions(nameof(ThrowException_WhenBusinessIsNotFound))))
            {
                var feedbackService = new FeedbackService(assertContext, paginatedListMocked.Object, dateTimeWrapperMocked.Object, censorMocked.Object);

                await Assert.ThrowsExceptionAsync <ArgumentException>(
                    async() => await feedbackService.AddFeedbackAsync(text, rating, author, wrongBusinessId));
            }
        }