Peter Gfader's brain noise

Great mocking framework David Tchepak and Anthony Egerton .
I like the readability of the code and the nice fluent API.

Mocking FW needs to be good at 2 things:

  1. Setup of the mock object 
  2. Verification of expectations 

#1
Substitute.For reads very nice!   
.Returns( something ) reads VERY nice! 

#2
DidNotReceive() and Receive() are awesome to read!
Gone the .Object  from moq 

————————— 

Richard Banks has a nice comparison of mocking frameworks on his blog 

Get it now from nuget and make sure to read the source code!

  1. gfader posted this
Blog comments powered by Disqus