public void RelaySimpleCommandShouldCallAction() { var action = Substitute.For<Action>(); var target = new MVVM.Component.RelaySimpleCommand(action); var arg = new object(); target.Execute(arg); action.Received(1).Invoke(); }
public void RelaySimpleCommandShouldCallAction() { var action = Substitute.For <Action>(); var target = new MVVM.Component.RelaySimpleCommand(action); var arg = new object(); target.Execute(arg); action.Received(1).Invoke(); }