1
Vote

Allow Then to accept delegate

description

Less is more!
 
Rather than having to wrap a single assertion statement in a class, allow a delegate to be accepted as an argument to Then and the fluent interface's And.
 
For UnitTest<TTarget, TReturnType>, it should accept Action<TReturnType> (so you can assert against the return value).

comments