public void IsRegisteredWorks() { var container = new NDOContainer(); Assert.AreEqual(false, container.IsRegistered <ICar>()); container.RegisterInstance <ICar>(null); Assert.AreEqual(true, container.IsRegistered <ICar>()); }