Skip to content

EnumerableExtensions.NotSequenceEqual Method

Definition

Asserts that the non-generic enumerable is not sequence equal to the expected elements.

public static ObjectAssertionsChain<T> NotSequenceEqual<T>(this ObjectAssertions<T> assertions, params IEnumerable<object> expected)
   where T : IEnumerable;

Type Parameters

Name Description
T The type of the enumerable.

Parameters

Name Type Description
assertions ObjectAssertions<T> The assertions object.
expected IEnumerable<Object> The elements the enumerable should not be sequence equal to.

Returns

ObjectAssertionsChain<T>

An ObjectAssertionsChain<T> for chaining further assertions.