public void Activate()
        {
            var activator = new StashboxJobActivator(new StashboxContainer().Register <TestJob>());
            var job       = activator.ActivateJob(typeof(TestJob));

            job.ShouldNotBeNull();
        }
        public void ActivateWithDependency()
        {
            var activator = new StashboxJobActivator(new StashboxContainer()
                                                     .Register <TestJobWithDependency>()
                                                     .Register <Dependency>());
            var job = activator.ActivateJob(typeof(TestJobWithDependency)) as TestJobWithDependency;

            job.ShouldNotBeNull();
            job.Dependency.ShouldNotBeNull();
        }