Yup, that's quite likely the issue.

On 06.12.2010, at 13:10, Liutauras wrote:

> If i add at the beginning creation of used model:
> 
>    public function testUserApproveExceptionId() {
>        $model = $this->getContext()->getModel('User.Manager');
>        $stub = $this->getMock('User_ManagerModel');
>        $stub->expects($this->any())
> .......
> 
> 
> then Mocking of Models class works ok.
> Just autoload needed for models used by mock's?
> Tnaks
> 
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to