public void FallbackService()
        {
            var concrete  = new List <int>();
            var container = new AssignableFallbackContainer();

            container.AddService(typeof(IList <int>), concrete);
            Assert.Equal(concrete, container.GetService(typeof(IEnumerable <int>)));
        }
        public void RegisterServices()
        {
            var abstractType = typeof(IList <int>);
            var concrete     = new List <int>();
            var container    = new AssignableFallbackContainer();

            container.AddService <IList <int> >(concrete);
            Assert.Equal(concrete, container.GetService(abstractType));
        }