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 ArticleMS 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
More Pages to Explore .....