Unit Testing the Use of TransactionScope
I’m just now sitting with the same problem and to me there seems to be two solutions: Don’t solve the problem. Create abstractions for the existing classes that follows the same pattern but are mockable/stubable. Edit: I’ve created a CodePlex-project for this now: http://legendtransactions.codeplex.com/ I’m leaning towards creating a set of interfaces for working with … Read more