Esempio n. 1
0
        public void TestIsRegistered()
        {
            const string key = "IsRegisteredKey";

            Assert.AreEqual(false, FeatureDescriptor.IsRegistered(key));
            FeatureDescriptor.Register(key, typeof(int));
            Assert.AreEqual(true, FeatureDescriptor.IsRegistered(key));
        }