public void IsRegistered_WithId_ReturnsTrue()
 {
     var c = new IoCContainer();
     var Id = "Testing";
     c.Register<ITestInterface, CustomeTestClass> (Id);
     Assert.AreEqual (c.IsRegistered (Id), true);
 }
 public void IsRegistered_WithNoIdAndTypes_ReturnsTrue()
 {
     var c = new IoCContainer();
     c.Register<ITestInterface, CustomeTestClass> ();
     Assert.AreEqual (c.IsRegistered<ITestInterface, CustomeTestClass>(), true);
 }
        public bool IsRegister <Interface>(string name = "default")
        {
            var registerKey = GenerateRegisterKey <Interface>(name);

            return(LazyImplementations.IsRegistered(registerKey));
        }