示例#1
0
        public void ConvertBack()
        {
            var converter = new GetFirstValidationErrorConverter();

            Assert.AreEqual(ConverterHelper.UnsetValue, converter.ConvertBack(null, typeof(object), null, null));
        }
示例#2
0
        public void Convert_Null()
        {
            var converter = new GetFirstValidationErrorConverter();

            Assert.AreEqual(string.Empty, converter.Convert(null, typeof(string), null, null));
        }