I have a service that returns IEnumerable<T> and enumeration is fairly slow.
I am writing a smoke test that just makes sure something is returned:
service.GetAll().Should().NotBeEmpty();
I see that my collection gets enumerated twice (something I would not expect from such assertion).
This issue is tightly linked to http://fluentassertions.codeplex.com/workitem/10362
Comments:
I am writing a smoke test that just makes sure something is returned:
service.GetAll().Should().NotBeEmpty();
I see that my collection gets enumerated twice (something I would not expect from such assertion).
This issue is tightly linked to http://fluentassertions.codeplex.com/workitem/10362
Comments: