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