public void TestGetServiceFromDependencyResolver()
        {
            //arrange
            IUnityContainer container = InitialUnityContainer();
            IDependencyResolver dependencyResolver = new UnityDependencyResolver(container);

            //act
            var controllerActivator = dependencyResolver.GetService<IControllerActivator>();
       
            //assert
            Assert.NotNull(controllerActivator);
        }
        public void TestCreateContronllerFromCustomControllerActivatorWithUnity()
        {
            //arrange
            IUnityContainer container = InitialUnityContainer();
            IDependencyResolver dependencyResolver = new UnityDependencyResolver(container);

            //act
            var controllerActivator = dependencyResolver.GetService<IControllerActivator>();
            var requestContext = new RequestContext();
            var controller = controllerActivator.Create(requestContext, typeof(TestingController));

            //assert
            Assert.NotNull(controllerActivator);
            Assert.NotNull(controller);
            Assert.IsType<TestingController>(controller);
        }