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