timscyclingblog.wordpress.com
Detouring a constructor with Microsoft Fakes #dev #coding #tdd
I wanted to ensure every SmtpClient instance that was created by a library was also disposed of, to do this I first needed to Shim SmtpClient using Microsoft Fakes: Add Fakes Assembly for System. E…