CountExtensions.NotBeEmpty Method
Definition
Asserts that the enumerable is not empty.
public static ObjectAssertionsChain<T> NotBeEmpty<T>(this ObjectAssertions<T> assertions)
where T : IEnumerable;
Type Parameters
| Name | Description |
|---|---|
T |
The type of the enumerable. |
Parameters
| Name | Type | Description |
|---|---|---|
assertions |
ObjectAssertions<T> |
The assertions object. |
Returns
An ObjectAssertionsChain<T> for chaining further assertions.