Beispiel #1
0
        public async Task OpenFinancialApplicationsHandler_returns_expected_applications()
        {
            var request = new OpenFinancialApplicationsRequest();
            var result  = await _handler.Handle(request, new CancellationToken());

            result.Should().NotBeNull();
            result.Should().BeEquivalentTo(_openApplications);
        }
Beispiel #2
0
 public async Task <List <FinancialApplicationSummaryItem> > Handle(OpenFinancialApplicationsRequest request, CancellationToken cancellationToken)
 {
     return(await _repository.GetOpenFinancialApplications());
 }