Unit-testing WCF
This following section explains how you can easily unit test Windows Communication Foundation (WFC) with TypeMock Isolator.
For testing code that uses WCF, we need to set up the service to respond correctly for each test.
However, tests run for a long time as they make calls on the wire. In addtion, what if the network is down? Does that mean you can’t run the tests?
Typemock Isolator has come along to make it easy to test code that is dependent on WCF services, without calling the services themselves and without changing it for testing.
as you can see in the following samples: