public void DefaultParser_StandardConfigSection_ValidXmlForConfig_ExpectedInstanceReturned()
        {
            DefaultInAnotherCastleParser parser = new DefaultInAnotherCastleParser();
            var results = parser.StandardConfigSectionParse(@"<TestInvalid Name=""TestName"" Value=""TestValue""></TestInvalid>", typeof(ExampleConfigurationSection));

            results.WithDeepEqual(new
            {
                Name  = "TestName",
                Value = "TestValue"
            }).IgnoreUnmatchedProperties().Assert();
        }
        public void DefaultParser_StandardConfigSection_InvalidXmlForConfig_ConfigurationExceptionThrown()
        {
            DefaultInAnotherCastleParser parser = new DefaultInAnotherCastleParser();

            parser.StandardConfigSectionParse("<TestInvalid></TestInvalid>", typeof(ExampleConfigurationSection));
        }