public void GettingApplyCommand__ReturnsDoNowCommand() { var doNowCommand = new DoNowCommand(); var test = new DoNowPresenter(doNowCommand); Assert.Same(doNowCommand, test.ApplyCommand); }
public void SettingDisplayName__DoesNothing() { var test = new DoNowPresenter(null); string originalName = test.DisplayName; test.DisplayName = "Another name"; Assert.Equal(originalName, test.DisplayName); }
public void GettingDisplayName__ReturnsDoNow() { var test = new DoNowPresenter(null); Assert.Equal("Now", test.DisplayName); }