From: Tony O. <to...@co...> - 2003-08-19 10:37:52
|
Hmmm. Now I'm a bit confused. I've checked the methods in the Mock object and I can't see any setup methods. The idea of a setup method rather than an expection, or as you put it, just get the thing working and don't check the calls sounds great for the type of test I want. Thanks >The short answer is no, because that's the point of what you're testing. > That said, you can use setup methods, rather than expectation, if you >just want to get the thing to work and don't want to check the calls. We >have some ideas about how to make things more flexible in the dynamic >mock world. |