Overload | Description |
---|---|
Enumerating(Func<IEnumerable>) | Forces enumerating a collection. Should be used to assert that a method that uses the yield keyword throws a particular exception. |
Enumerating<T>(Func<IEnumerable<T>>) | Forces enumerating a collection. Should be used to assert that a method that uses the yield keyword throws a particular exception. |