public void Instantiation () 
 {
     PingSource source = new PingSource ();
     StaticEventHandlerValue wirer
         = new StaticEventHandlerValue (source, "OnPing");
     Assert.IsNotNull (wirer.Source);
     Assert.AreEqual ("OnPing", wirer.MethodName);
     Assert.IsTrue (wirer.ToString ().IndexOf (wirer.MethodName) > 0);
 }
        public void Instantiation()
        {
            PingSource source = new PingSource();
            StaticEventHandlerValue wirer
                = new StaticEventHandlerValue(source, "OnPing");

            Assert.IsNotNull(wirer.Source);
            Assert.AreEqual("OnPing", wirer.MethodName);
            Assert.IsTrue(wirer.ToString().IndexOf(wirer.MethodName) > 0);
        }