internal void HasCount_Works(IEnumerable <string> data) { _testInstance.HasCount(data.Count(), data); Tools.Asserter.Throws <AssertException>( () => _testInstance.HasCount(data.Count(), null)); Tools.Asserter.Throws <AssertException>( () => _testInstance.HasCount(data.Count() - 1, data)); Tools.Asserter.Throws <AssertException>( () => _testInstance.HasCount(data.Count() + 1, data)); }