public void XmlDocId_EventId_NonEvent() { var info = typeof(MyClass).GetMember(nameof(MyClass.ValProperty)).First(); Assert.ThrowsException <ArgumentException>(() => XmlDocId.EventId(info)); }
public void XmlDocId_EventId_Null() { Assert.ThrowsException <ArgumentNullException>(() => XmlDocId.EventId(null)); }