private bool CreateJobBoardActivity(IEmployer employer) { var jobAd = _jobAdsCommand.PostTestJobAd(employer); // Tweak the JobAdStatus directly. var statusChanges = _jobAdsRepository.GetStatusChanges(jobAd.Id); Assert.AreEqual(1, statusChanges.Count); statusChanges[0].Time = DateTime.Now.AddMonths(-2); _jobAdsRepository.UpdateStatusChange(statusChanges[0]); return(true); }