Re: [patch] PHPUnit3 MockObject extension 'onConsecutiveCalls'
| From: | Sebastian Bergmann | Date: | Sat, 27 May 2006 14:29:46 +0000 |
| Subject: | Re: [patch] PHPUnit3 MockObject extension 'onConsecutiveCalls' | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42645@lists.php.net to get a copy of this message | ||
Patrick Müller wrote:
> the patch is a PHPUnit3 extension and adds jMock like
> 'onConsecutiveCalls' method. This lets you define multiple values that
> should be returned by a mocked method. Look at the test for a example.
I will look at your patch shortly.
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69