On 4月12日, 下午9时38分, Johnny <
johnnyjia...@gmail.com> wrote:
> I think this 'exec' method is equal to the 'then' method in state
> machine, but it cannot implement the functionality of the 'when' method.
>
> 在 2009-04-12日的 14:27 +0100,Julien Gagnet写道:
>
> > The main difference I guess with the answer method is that we don't
> > returns the result of the execution in the code under test. The answer
> > method replace the returns one.
>
> > I was thinking we that if we can get callback when and expectation is
> > match then we could change the state of the concrete object.
>