예제 #1
0
        public void ConvertToGuid_Success()
        {
            var guid = Guid.NewGuid();

            Assert.True(converter.CanConvert(guid.GetType()));

            var dict = converter.Convert(guid, settings);

            Assert.Equal(guid.ToString(), dict);

            var result = converter.ConvertBack(dict, settings);

            Assert.Equal(guid, result);
        }