public void TestForwardingNullEvent()
 {
     Assert.Throws <InternalErrorException>(() =>
     {
         EventSourceSink testSink = new EventSourceSink();
         EventRedirectorToSink eventRedirector = new EventRedirectorToSink(5, testSink);
         ((IEventRedirector)eventRedirector).ForwardEvent(null);
     }
                                            );
 }
 public void TestConstructorNullSink()
 {
     EventRedirectorToSink eventRedirector = new EventRedirectorToSink(0, null);
 }
 public void TestConstructorNegativeLoggerId()
 {
     EventSourceSink       testSink        = new EventSourceSink();
     EventRedirectorToSink eventRedirector = new EventRedirectorToSink(-10, testSink);
 }