Skip to content

CountExtensions.BeEmpty Method

Definition

Asserts that the enumerable is empty.

public static ObjectAssertionsChain<T> BeEmpty<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

ObjectAssertionsChain<T>

An ObjectAssertionsChain<T> for chaining further assertions.