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

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

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

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

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