public void TestBindingNormalEvent()
        {
            var eobj = new AnyObjectWithEvent();
            string data = "";

            string expected = "Mydata";

            var bind = MVVMSidekick.Utilities.EventHandlerHelper.BindEvent(eobj, "SampleEvent", (o, e,en,eht) => {
                data = ((DataEventArgs<string>)e).Data; });
            eobj.RaiseEvent(expected);
            Assert.AreEqual(data, expected);

            bind.Dispose();
            eobj.RaiseEvent("");
            Assert.AreEqual(data, expected);

        }
        public void TestBindingNormalEvent()
        {
            var    eobj = new AnyObjectWithEvent();
            string data = "";

            string expected = "Mydata";

            var bind = MVVMSidekick.Utilities.EventHandlerHelper.BindEvent(eobj, "SampleEvent", (o, e, en, eht) => {
                data = (string)e;
            });

            eobj.RaiseEvent(expected);
            Assert.AreEqual(data, expected);

            bind.Dispose();
            eobj.RaiseEvent("");
            Assert.AreEqual(data, expected);
        }