Moles allows you to replace any .NET method with a user-defined delegate. Moles allow to test code with external dependencies in isolation, even when those dependencies have been hard-coded. Moles is fully integrated into Pex, an automated white box test
generation tool for .NET.
speaker: Peli de Halleux