Example #1
0
        public void PrivateEventTest()
        {
            NuGenInvoker   invoker = new NuGenInvoker(new ParentClass());
            NuGenEventInfo info    = invoker.Events["PrivateEvent"];

            Assert.IsNotNull(info);
        }
Example #2
0
        public void ConstructorArgumentNullException2Test()
        {
            EventInfo info = typeof(Control).GetEvent("Click");

            Assert.IsNotNull(info);

            _eventInfo = new NuGenEventInfo(info, null);
        }
Example #3
0
 public void ArgumentNullException2Test()
 {
     NuGenEventInfo eventInfo = _events[""];
 }
Example #4
0
 public void ConstructorArgumentNullExceptionTest()
 {
     _eventInfo = new NuGenEventInfo(null, new object());
 }
Example #5
0
 public void EventNotFoundExceptionTest()
 {
     NuGenEventInfo eventInfo = _events["EventNotExist"];
 }