Generate Return Values Using Lambdas in Moq(www.blackwasp.co.uk)
submitted by
BlackWasp(4212) 5 months, 4 days ago
Mock objects and stubs created using the Moq framework are generally used to inject dependencies with expectations that define fixed results. For more complex scenarios, lambda expressions can be used to generate results based on provided arguments.
|category: Unit Testing
|Views: 5
tags:
Testing another
Everyones tags:
Your Tags: