public void CantProcess_If_CommitType_IsNot_Selected(CommitizenViewModel sut) { sut.SelectedCommitType = null; sut.CanProceed(null).ShouldBe(false); }
public void CanProcess_If_CommitType_And_Subject_Are_Filled(CommitizenViewModel sut) { sut.SelectedCommitType.ShouldNotBeNull(); sut.Subject.ShouldNotBeNullOrEmpty(); sut.CanProceed(null).ShouldBe(true); }
public void CantProcess_If_Subject_Empty(CommitizenViewModel sut) { sut.Subject = string.Empty; sut.CanProceed(null).ShouldBe(false); }