Re: Mock objects with PHPUnit2

From: Date: Mon, 23 Jan 2006 16:11:18 +0000
Subject: Re: Mock objects with PHPUnit2
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22644@lists.php.net to get a copy of this message
Rob Young schrieb: > Is there a way for me to create a mock object for a class which takes > parameters on it's contructor? Constructor methods are not mocked by PHPUnit's mock object code generator. Don't know if that answers your question, though. -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69

« previous php.pear.general (#22644) next »