I know that the code as written won't work, which is why I labeled it pseudocode. But thanks for clarifying.
Yes, this is essentially the MockObject strategy. Thanks for adding the links.
In reply to Re^3: Test::More usage to test functions that die
by trammell
in thread Test::More usage to test functions that die
by mkirank
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |