public async Task ShouldThrowErrorWhenInValidInformation()
        {
            var query = new GetQuestionDetailQuery(123 + _questionId, _adminUserId, _tenantId);

            await Assert.ThrowsAsync <NotFoundException>(async() =>
                                                         await _queryHandler.Handle(query, CancellationToken.None));
        }
        public async Task ShouldGetModelForValidInformation()
        {
            var query = new GetQuestionDetailQuery(_questionId, _adminUserId, _tenantId);

            var model = await _queryHandler.Handle(query, CancellationToken.None);

            Assert.Null(model.Errors);
            Assert.Equal(expected: _context.Questions.FirstOrDefault()?.Text, actual: model.Items.Single().Text, ignoreCase: true);
        }