ReadOnlySetAssertions<TSet, T>.IsSubsetOf Method
Definition
Asserts that every element in the set is expected.
c#
public AssertionsChain<ReadOnlySetAssertions<TSet, T>, TSet> IsSubsetOf(params IEnumerable<T> expected);Parameters
| Name | Type | Description |
|---|---|---|
expected | IEnumerable<T> | The expected elements. |
Returns
AssertionsChain<ReadOnlySetAssertions<TSet, T>, TSet>
An AssertionsChain<TAssertions, T> for chaining further assertions.