public void AddExtensionTest()
        {
            AtomBase target = CreateAtomBase();

            Assert.IsTrue(target.ExtensionFactories.Count == 0);
            AppDraft draft = new AppDraft();

            target.AddExtension(draft);
            Assert.AreEqual(draft, target.FindExtensionFactory(draft.XmlName, draft.XmlNameSpace));
        }
        public void FindExtensionFactoryTest()
        {
            AtomBase target = CreateAtomBase(); // TODO: Initialize to an appropriate value

            Assert.IsTrue(target.ExtensionFactories.Count == 0);
            AppDraft draft = new AppDraft();

            target.ExtensionFactories.Add(draft);
            Assert.AreEqual(draft, target.FindExtensionFactory(draft.XmlName, draft.XmlNameSpace));
        }