my $handle = Test::Resub->new({ name => 'Foo::bar', code => sub { "mocked out behavior" }, }); # now do something that calls Foo::bar
In reply to Re: Test::MockObject and imported functions
by smerritt
in thread Test::MockObject and imported functions
by Mutant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |