public void ActivateJob_CallsNinject()
        {
            _kernel.Bind <string>().ToConstant("called");
            var activator = new NinjectJobActivator(_kernel);

            var result = activator.ActivateJob(typeof(string));

            Assert.AreEqual("called", result);
        }
        public void Ctor_ThrowsAnException_WhenKernelIsNull()
        {
// ReSharper disable once UnusedVariable
            var activator = new NinjectJobActivator(null);
        }
        public void Class_IsBasedOnJobActivator()
        {
            var activator = new NinjectJobActivator(_kernel);

            Assert.IsInstanceOfType(activator, typeof(JobActivator));
        }
        public void Ctor_ThrowsAnException_WhenKernelIsNull()
        {
// ReSharper disable once UnusedVariable
            var activator = new NinjectJobActivator(null);
        }