// TODO: überall multi "where"-statements wie hier machen public static AndConstraint<TAssertions> BeEquivalentWithSameOrdering<TSubject, TAssertions>( this CollectionAssertions<TSubject, TAssertions> assertions, params object?[] expectation) where TSubject : IEnumerable where TAssertions : CollectionAssertions<TSubject, TAssertions> { return assertions.BeEquivalentTo(expectation, options => options.WithStrictOrdering()); }
public static AndConstraint <TAssertions> BeSequenceEquivalentTo <TExpectation, TSubject, TAssertions>( this CollectionAssertions <TSubject, TAssertions> collectionAssertions, IEnumerable <TExpectation> expectation, string because = "", params object[] becauseArgs) where TSubject : IEnumerable where TAssertions : CollectionAssertions <TSubject, TAssertions> { return(collectionAssertions.BeEquivalentTo(expectation, options => options.WithStrictOrdering(), because, becauseArgs)); }