From: <st...@m3...> - 2003-06-10 10:19:41
|
> I'm worried that we'll refactor out flexibility that will be very difficu= lt > to put back in when somebody needs it. The previous version of the dynam= ic > mocks was a little too inflexible, and mock objects created by the core > library are very inflexible and need to be modified too frequently. >=20 > The idea of making CallBag and CallSequence implement Call is to find a > happy medium between the simplicity of sequences or choices of expected > calls and the over-complexity of state machines. In which case, perhaps we should distinguish between Callable and Matchable= ? To me, the current situation is confusing because we have 2 implementatio= ns that will fail if you try to use them as Callables. S. |