public void SetUp()
        {
            var doc = new XmlDocument();

            doc.LoadXml(objectsConfigXml);
            var configHandler     = new ObjectsConfigurationSectionHandler();
            var objectConfigTypes = (Dictionary <string, ObjectConfigurationType>)configHandler.Create(null, null, doc.DocumentElement);

            this.factoryConfig = FactoryUtils.CreateObjectFactoryFromConfig(objectConfigTypes);
        }
        public void Create_IDestinationInvalidConstructorIndexTest()
        {
            var doc = new XmlDocument();

            doc.LoadXml(InvalidConstructorIndexConfigXml);
            var configHandler     = new ObjectsConfigurationSectionHandler();
            var objectConfigTypes = (Dictionary <string, ObjectConfigurationType>)configHandler.Create(null, null, doc.DocumentElement);

            factory = FactoryUtils.CreateObjectFactoryFromConfig(objectConfigTypes);
            Assert.Fail();
        }