public void ExtensionReturnsTrueIfThereIsAPolicyForType()
        {
            WindsorContainer container = new WindsorContainer();

            container.RegisterType <object, string>();
            Assert.True(container.IsTypeRegistered(typeof(object)));
            Assert.False(container.IsTypeRegistered(typeof(int)));

            container.RegisterType <IList <int>, List <int> >();

            Assert.True(container.IsTypeRegistered(typeof(IList <int>)));
            Assert.False(container.IsTypeRegistered(typeof(IList <string>)));

            //container.Register(typeof(IDictionary<,>), typeof(Dictionary<,>));
            //Assert.True(container.IsTypeRegistered(typeof(IDictionary<,>)));
        }