Hi Drew, > Lots of people do this, it's a well-known testing > pattern referred to as Mock Objects[1].
I'm very familiar with Mock Objects (http://abstractadonet.sourceforge.net/mock.html). My question was really a request for comments. I was wondering HOW people are approaching the problem. As you state, there are no IMessageQueue or IMessage interfaces. So you either spend a lot of time writing wrapper objects that use interfaces or you have to try to test by isolating the physical aspects (i.e. queues) to be exactly what you want. Justin You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.