示例#1
0
        public void Invoke_ActionIsInvoked()
        {
            bool action_set = false;
            var mat = new ActionTarget (ctx => action_set = true);

            mat.Invoke (new ManosAppStub (), new ManosContextStub ());

            Assert.IsTrue (action_set);
        }
示例#2
0
        public void Invoke_ActionIsInvoked()
        {
            bool action_set = false;
            var  mat        = new ActionTarget(ctx => action_set = true);

            mat.Invoke(new ManosAppStub(), new ManosContextStub());

            Assert.IsTrue(action_set);
        }