public void ThrowsOnInvalid(string original) { Assert.Throws <ArgumentException>(() => NameUtils.ConvertTypeName(original)); }
public void ThrowsOnNull() { Assert.Throws <ArgumentNullException>(() => NameUtils.ConvertTypeName(null)); }
public void ConvertsValid(string original, string expected) { string actual = NameUtils.ConvertTypeName(original); Assert.Equal(expected, actual, ignoreLineEndingDifferences: true); }