CountExtensions Class
Definition
Extension methods that provide count-related assertions for enumerables.
c#
public static class CountExtensionsMethods
| Name | Description |
|---|---|
BeEmpty<TAssertions, T>(ObjectAssertions<TAssertions, T>) | Asserts that the enumerable is empty. |
HaveCount<TAssertions, T>(ObjectAssertions<TAssertions, T>, Int32) | Asserts that the enumerable has the specified number of elements. |
NotBeEmpty<TAssertions, T>(ObjectAssertions<TAssertions, T>) | Asserts that the enumerable is not empty. |
NotHaveCount<TAssertions, T>(ObjectAssertions<TAssertions, T>, Int32) | Asserts that the enumerable does not have the specified number of elements. |