EnumerableExtensions.NotSequenceEqual Method
Definition
Asserts that the non-generic enumerable is not sequence equal to the expected elements.
c#
public static AssertionsChain<TAssertions, T> NotSequenceEqual<TAssertions, T>(this ObjectAssertions<TAssertions, T> assertions, params IEnumerable<object> expected)
where TAssertions : ObjectAssertions<TAssertions, T>
where T : IEnumerable;Type Parameters
| Name | Description |
|---|---|
TAssertions | The type of the assertions object. |
T | The type of the enumerable. |
Parameters
| Name | Type | Description |
|---|---|---|
assertions | ObjectAssertions<TAssertions, T> | The assertions object. |
expected | IEnumerable<Object> | The elements the enumerable should not be sequence equal to. |
Returns
AssertionsChain<TAssertions, T>
An AssertionsChain<TAssertions, T> for chaining further assertions.