public void PrivateEventTest() { NuGenInvoker invoker = new NuGenInvoker(new ParentClass()); NuGenEventInfo info = invoker.Events["PrivateEvent"]; Assert.IsNotNull(info); }
public void ConstructorArgumentNullException2Test() { EventInfo info = typeof(Control).GetEvent("Click"); Assert.IsNotNull(info); _eventInfo = new NuGenEventInfo(info, null); }
public void ArgumentNullException2Test() { NuGenEventInfo eventInfo = _events[""]; }
public void ConstructorArgumentNullExceptionTest() { _eventInfo = new NuGenEventInfo(null, new object()); }
public void EventNotFoundExceptionTest() { NuGenEventInfo eventInfo = _events["EventNotExist"]; }