[patch] PHPUnit3 MockObject extension 'onConsecutiveCalls'
| From: | Patrick Müller | Date: | Sat, 27 May 2006 11:31:30 +0000 |
| Subject: | [patch] PHPUnit3 MockObject extension 'onConsecutiveCalls' | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-42644@lists.php.net to get a copy of this message | ||
Hi,
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.
elias