public async Task GetPaymentEventShouldReturnPaymentIfIsMonthEnd()
        {
            var handleAfterMonthEndServiceTest = new ProcessAfterMonthEndPaymentService(paymentLogger, mapper.Object, monthEndService.Object);
            var payment = await handleAfterMonthEndServiceTest.GetPaymentEvent(fundingSourcePaymentEvent);

            payment.Should().NotBeNull();
            payment.Should().BeOfType <EmployerCoInvestedProviderPaymentEvent>();
            payment.JobId.Should().Be(providerPaymentEvent.JobId);
            payment.Ukprn.Should().Be(providerPaymentEvent.Ukprn);
        }
        public async Task GetPaymentEventShouldNotReturnPaymentIfIsNotMonthEnd()
        {
            monthEndService
            .Setup(o => o.IsMonthEndStarted(It.IsAny <long>(), It.IsAny <short>(), It.IsAny <byte>()))
            .ReturnsAsync(false);

            var handleAfterMonthEndServiceTest = new ProcessAfterMonthEndPaymentService(paymentLogger, mapper.Object, monthEndService.Object);
            var payment = await handleAfterMonthEndServiceTest.GetPaymentEvent(fundingSourcePaymentEvent);

            payment.Should().BeNull();
        }