If you haven't watched it yet, you should watch this talk from dconf. It'sspecifically about stuff like mock testing in D. http://www.youtube.com/watch?v=V98Z11V7kEY- Jonathan M Davis
Yeah, deject looks pretty nice, but only works on code you own. It's certainly a much safer alternative to what I'm considering.
