We don't bite newbies here... much | |
PerlMonks |
Re: Using Test::MockObjectby chromatic (Archbishop) |
on Jun 10, 2007 at 06:39 UTC ( [id://620257]=note: print w/replies, xml ) | Need Help?? |
$gq is undef because your mocked constructor does nothing. You need to return $TMO or another mock object instead.
In Section
Seekers of Perl Wisdom
|
|