示例#1
0
 public void ThrowsOnInvalid(string original)
 {
     Assert.Throws <ArgumentException>(() => NameUtils.ConvertTypeName(original));
 }
示例#2
0
 public void ThrowsOnNull()
 {
     Assert.Throws <ArgumentNullException>(() => NameUtils.ConvertTypeName(null));
 }
示例#3
0
            public void ConvertsValid(string original, string expected)
            {
                string actual = NameUtils.ConvertTypeName(original);

                Assert.Equal(expected, actual, ignoreLineEndingDifferences: true);
            }