public void CanAdd_WhenTitleIsNotEmpty_IsTrue() { _fakeAction = AnAction.Called("This action has a title").Mock(); InputPresenter test = BuildDefaultInputViewPresenter(); Assert.True(test.CanAdd()); }
public void CanAdd_WhenTitleIsEmpty_IsFalse() { _fakeAction = AnAction.Called(string.Empty).Mock(); InputPresenter test = BuildDefaultInputViewPresenter(); Assert.False(test.CanAdd()); }