Example #1
0
        public void XmlDocId_EventId_NonEvent()
        {
            var info = typeof(MyClass).GetMember(nameof(MyClass.ValProperty)).First();

            Assert.ThrowsException <ArgumentException>(() => XmlDocId.EventId(info));
        }
Example #2
0
 public void XmlDocId_EventId_Null()
 {
     Assert.ThrowsException <ArgumentNullException>(() => XmlDocId.EventId(null));
 }