- Next add our mock to the framework
- ...and exercise the part we want to test
- The mock will record the calls to it
my $repos = OpenInteract2::Repository->new(
{ website_dir => $website_dir });
$repos->add_package( $mock_pkg ); # calls 0-5...
my $found = $repos->find_file(
'oi2testing', 'template/testing.tmpl' );