public void IncrementNumberOfClickThroughs()
        {
            IVacancyWriteRepository writeRepository = new VacancyRepository(_connection, _mapper,
                                                                            _dateTimeService.Object, _logger.Object, _currentUserService.Object, _configurationService.Object);
            IVacancyReadRepository readRepository = new VacancyRepository(_connection, _mapper,
                                                                          _dateTimeService.Object, _logger.Object, _currentUserService.Object, _configurationService.Object);


            var vacancy = CreateValidDomainVacancy();

            vacancy.VacancyGuid = Guid.NewGuid();
            vacancy.Title       = "Test";
            vacancy.Status      = VacancyStatus.Draft;
            // Changed from PendingQA to Draft because PendingQA is not still in the db
            vacancy.VacancyManagerId           = SeedData.ProviderSites.HopwoodCampus.ProviderSiteId;
            vacancy.Address.Postcode           = "CV1 2WT";
            vacancy.Address.County             = "West Midlands";
            vacancy.VacancyOwnerRelationshipId = SeedData.VacancyOwnerRelationships.TestOne.VacancyOwnerRelationshipId;
            vacancy.FrameworkCodeName          = null;
            vacancy.SectorCodeName             = "ALB";
            vacancy.ContractOwnerId            = SeedData.Providers.HopwoodHallCollege.ProviderId;
            vacancy.Duration         = 2;
            vacancy.DurationType     = DurationType.Years;
            vacancy.ExpectedDuration = "2 years";

            vacancy.NoOfOfflineApplicants = 0;

            vacancy = writeRepository.Create(vacancy);

            writeRepository.IncrementOfflineApplicationClickThrough(vacancy.VacancyId);
            writeRepository.IncrementOfflineApplicationClickThrough(vacancy.VacancyId);
            writeRepository.IncrementOfflineApplicationClickThrough(vacancy.VacancyId);
            writeRepository.IncrementOfflineApplicationClickThrough(vacancy.VacancyId);
            writeRepository.IncrementOfflineApplicationClickThrough(vacancy.VacancyId);

            var entity = readRepository.Get(vacancy.VacancyId);

            entity.NoOfOfflineApplicants.Should().Be(5);
        }