PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Testing » PHPUnit2 » Bug #6821

Mocking methods that don't exist

Details

Request #6821Mocking methods that don't exist
Submitted2006-02-17 19:59 UTC
Frommaximilian dot gass at arcor dot de
StatusSuspended
PackagePHPUnit2
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2006-02-17 19:59 UTC] maximilian dot gass at arcor dot de

Description:
------------
It would be nice (have I mentioned that before? ;-)) if one
could mock methods that don't exist in the base class.

(I knew this feature from SimpleTest and found it very
useful)

BTW: What about mocking all methods if no methods are given
to getMock()?

[2006-07-05 15:32 UTC] sebastian at php dot net

Moved to http://www.phpunit.de/ticket/2.