public void XmlDocId_EnumValueIdId_ValueNull() { Assert.ThrowsException <ArgumentNullException>(() => XmlDocId.EnumValueId(typeof(TestEnumWithValueComments), null)); }
public void XmlDocId_EnumValueIdId_NonEnum() { Assert.ThrowsException <ArgumentException>(() => XmlDocId.EnumValueId(typeof(MyClass), "notnull")); }
public void XmlDocId_EnumValueIdId_TypeNull() { Assert.ThrowsException <ArgumentNullException>(() => XmlDocId.EnumValueId(null, "")); }