Subject: | I'd like to be able to avoid hard-coding the number of expected calls |
Perhaps via cmp_ok() so something like:
sub_cmp_calls $subname, $comparison_operator, $expected_calls [, $message
sub_cmp_calls 'Foo::foo', '>=', 1, 'Use a custom test message';