public void Update_Financial_Grade_with_clarification_Files_name_when_no_files_present()
        {
            var application = new Domain.Entities.Apply {
                FinancialGrade = new FinancialReviewDetails()
            };

            _repository.Setup(x => x.GetApplication(_applicationId)).ReturnsAsync(application);
            _repository.Setup(x => x.UpdateFinancialReviewDetails(_applicationId, It.Is <FinancialReviewDetails>(g => g.ClarificationFiles.First().Filename == FileName))).ReturnsAsync(true);
            var result = _handler.Handle(_request, new CancellationToken()).GetAwaiter().GetResult();

            Assert.IsTrue(result);
        }
        public void Update_Financial_Grade_with_clarification_FileName()
        {
            _repository.Setup(x => x.AddFinancialReviewClarificationFile(_applicationId, FileName)).ReturnsAsync(true);
            var result = _handler.Handle(_request, new CancellationToken()).GetAwaiter().GetResult();

            Assert.IsTrue(result);
        }