Skip to content

ReadOnlySetAssertions<TSet, T>.IsSupersetOf Method

Definition

Asserts that the set is a superset of the expected elements, i.e. it contains every expected element.

public ReadOnlySetAssertionsChain<TSet, T> IsSupersetOf(params IEnumerable<T> expected);

Parameters

Name Type Description
expected IEnumerable<T> The expected elements.

Returns

ReadOnlySetAssertionsChain<TSet, T>

A ReadOnlySetAssertionsChain<TSet, T> for chaining further assertions.