public void Handle_InvalidJobOfferPropositionId_ThrowsNotFoundException()
        {
            //Arrange
            var handler = new GetJobOfferPropositionListQueryHandler(_mapper, _mockLogger.Object, _mockJobOfferRepository.Object);

            //Act
            Func <Task> func = () => handler.Handle(new GetJobOfferPropositionListQuery()
            {
                JobOfferId = "99"
            }, CancellationToken.None);

            //Assert
            func.ShouldThrowAsync <NotFoundException>();
        }
        public async Task Handle_GetJobOfferPropositionList_ReturnsSpecificType()
        {
            //Arrange
            var handler = new GetJobOfferPropositionListQueryHandler(_mapper, _mockLogger.Object, _mockJobOfferRepository.Object);

            //Act
            var result = await handler.Handle(new GetJobOfferPropositionListQuery()
            {
                JobOfferId = "1"
            }, CancellationToken.None);

            //Assert
            result.ShouldBeOfType <JobOfferPropositionViewModel>();
        }