1

Closed

Add overload for Collection assertion ContainInOrder that takes a params argument

description

Now you need to write:

results.OpenAndTurnoverEvents.Should().ContainInOrder(new[] { firstEvent.Code, secondEvent.Code, thirdEvent.Code });

The only thing is that you cannot add a reason and readonArgs, but when you don't need that it would be nice to
be able to write it like this:

results.OpenAndTurnoverEvents.Should().ContainInOrder(firstEvent.Code, secondEvent.Code, thirdEvent.Code);
Closed Aug 25, 2012 at 2:19 PM by
All done with the public beta of Fluent Assertions 2.0

comments