public void Given_not_showing_archived_tasks_When_IsShowOutsandingVisible_Then_is_true() { // Given var target = new SearchRiskAssessmentsViewModel { IsShowArchived = false }; // When var result = target.IsShowOpenVisible(); // Then Assert.IsFalse(result); }
public void Given_showing_deleted_tasks_When_IsShowOutsandingVisible_Then_is_true() { // Given var target = new SearchRiskAssessmentsViewModel { IsShowDeleted = true }; // When var result = target.IsShowOpenVisible(); // Then Assert.IsTrue(result); }