Quantcast
Channel: MS Fakes Shims. Assert "was called" (by closures) - Code Review Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by John Stritenberger for MS Fakes Shims. Assert "was called" (by...

Generally, I see no problem with using closures with unit testing, as long as the intent is clear and concise. Functional programming style can be difficult for others to grasp if they're not familiar...

View Article



MS Fakes Shims. Assert "was called" (by closures)

Is it a good or bad practice to use closures for asserting the method was called in such a way?The method set a shim and return an Action wich both capture local mutable variable:private static...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images