public void SetupInvokeAction() { MockDispatcher .Setup(md => md.Invoke(It.IsAny <Action>())) .Callback(ExecuteCallback) .Verifiable(); }