From: <fb...@us...> - 2003-09-08 02:06:52
|
Hi, I'm using DynaMocks 0.09 and would like to know if one can check the= =20 sequence of calls between more than one mock. For example, I am writing tests for an object that should retry=20 operations once on the object, but must call another one in the mean = time: public void method() throws FailureException { try { obj.operation(); } catch (FailureException e) { obj =3D obj2.factory(); obj.operation(); } } So, both mocks should cooperate to determine if the correct sequence = of=20 operations was executed. Thanks for any tips or pointers. Bye ! Fran=E7ois |