NSubstitute
NSubstitute copied to clipboard
Custom arg matcher support
- Add
Arg.Is(IArgumentMatcher<T>)and related overloads to provide better support for custom arg matchers. - Add
ArgMatchers.Matchingto match predicates with descriptions without requiring expressions. - Document changes
Feedback requests
Please check API seems reasonable. Anything missing and/or confusing with the documentation additions?
Should we move these types (ArgMatchers, IArgumentMatcher, IDescribe*) into root package, rather than NSubstitute.Core.*?