views:

81

answers:

2

I've generated some service references to Amazon, and I was wondering if there was a good, quick way to generate mocks against the whole thing, or I instead I have to implement a mock binding, and do it that way

A: 

You cannot easily mock a .NET service reference client class. You could use the service contract interface in your code and mock this one.

Darin Dimitrov
A: 

You might want to have a look at the MockingBird framework.

Disclaimer: I havn't used it myself so I don't know if it serves your need.

mrydengren