internal void PublishMultipleDummyJobs(int numberOfDummyJobsToPublish)
        {
            NumberOfDummyJobs = numberOfDummyJobsToPublish;
            const int dummyJobDuration = 500;
            const int waitingTimeForDummyJob = 4000;
            for (var i = 0; i < numberOfDummyJobsToPublish; i++)
            {
                var dummyJob = new DummyJob
                {
                    WorkDurationInMilliseconds = dummyJobDuration,
                    WaitingTimeForWorkExecutionInMilliseconds = waitingTimeForDummyJob
                };

                PublishingBus.Publish(JobStatus.Pending.TopicId(), dummyJob, StorageType.NonPersistent);
            }
            Thread.Sleep(numberOfDummyJobsToPublish * (waitingTimeForDummyJob + 1000));
        }
 internal void InstantiateDummyJob()
 {
     DummyJob = new DummyJob();
 }