public void HasCountOfShouldReturnTrueForCorrectCount() { var strings = new[] { "one", "two", "three" }; var result = strings.HasCountOf(3); Assert.That(result, Is.True); }
public void HasCountOfShouldReturnFalseForIncorrectCount() { var strings = new[] { "one", "two", "three" }; var result = strings.HasCountOf(4); Assert.That(result, Is.False); }