public void CreateFactorySuccessful()
        {
            ObjectFactorySectionHandler objHandler = new ObjectFactorySectionHandler();
            IListableObjectFactory factory = (IListableObjectFactory)objHandler.Create( null, null, _xmlElement );
            Assert.AreEqual(1, factory.ObjectDefinitionCount);

        }
        public void CreateFactorySuccessful()
        {
            ObjectFactorySectionHandler objHandler = new ObjectFactorySectionHandler();
            IListableObjectFactory      factory    = (IListableObjectFactory)objHandler.Create(null, null, _xmlElement);

            Assert.AreEqual(1, factory.ObjectDefinitionCount);
        }
		public void CreateFactoryUnSuccessful()
		{
            ObjectFactorySectionHandler objHandler = new ObjectFactorySectionHandler();
			objHandler.Create( null, null, null );
		}
		public void CreateFactoryUnSuccessful()
		{
		    ObjectFactorySectionHandler objHandler = new ObjectFactorySectionHandler();
		    Assert.Throws<ArgumentNullException>(() => objHandler.Create(null, null, null));
		}
        public void CreateFactoryUnSuccessful()
        {
            ObjectFactorySectionHandler objHandler = new ObjectFactorySectionHandler();

            Assert.Throws <ArgumentNullException>(() => objHandler.Create(null, null, null));
        }
        public void CreateFactoryUnSuccessful()
        {
            ObjectFactorySectionHandler objHandler = new ObjectFactorySectionHandler();

            objHandler.Create(null, null, null);
        }