Inheritance: ISimpleCommand
        public void RelaySimpleCommandShouldCallAction()
        {
            var action = Substitute.For<Action>();
            var target = new RelaySimpleCommand(action);
            var arg = new object();

            target.Execute(arg);

            action.Received(1).Invoke();
        }
 public CardViewModel()
 {
     Insert = new RelaySimpleCommand<ItemViewModel>((it) => _Items.Insert(_Items.IndexOf(it),new ItemViewModel()));
     Remove = new RelaySimpleCommand<ItemViewModel>((it) => _Items.Remove(it));
 }