1. Introduction
As many other Microsoft libraries and frameworks Windows Communication Foundation requires some workarounds to be used in the project, which is designed in test driven development style. The main problem is inability to use Dependency Injection pattern, which is the heart of test driven development. In this article I will show you a set of tricks for both Silverlight and .NET runtimes, which will allow you to use WCF inside TDD project.
Download source code (Requires Silverlight 3 RTM).