Quantcast
Channel: Fluent Validation for .NET
Viewing all articles
Browse latest Browse all 1917

New Post: Fake it easy with Fluent Validation

$
0
0

I don't have experience with FakeItEasy, but have you tried explicitly specifying the other parameters of the Validate method?

Personally I'd tend to avoid mocking validators - I find it simpler to just pass them a model instance that passes all the rules from within your test.

Jeremy


Viewing all articles
Browse latest Browse all 1917

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>