Example #1
0
        public void RegisterTypeConverters_GivenConverter_AddedToCollection()
        {
            var converter = new UserConverterExample();

            ConfigurationManager.RegisterTypeConverters(converter);

            Assert.That(ConfigurationManager.TypeConverters[0], Is.EqualTo(converter));
        }
        public void RegisterTypeConverters_GivenConverter_AddedToCollection()
        {
            var converter = new UserConverterExample();

            ConfigurationManager.RegisterTypeConverters(converter);

            Assert.That(ConfigurationManager.TypeConverters[0], Is.EqualTo(converter));
        }