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); }
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); }