4 use Test::MockObject::Extends;
5 use Test::More tests => 3;
10 my $i = Test::MockObject::Extends->new('Catalyst::Helper');
13 $i->get_sharedir_file(qw/does not exist and hopefully never will or we are
14 totally screwed.txt/);
15 } qr/No such/, 'Exception for file not found from ->get_sharedir_file';
18 ok($i->get_sharedir_file('makefile.tt'), 'has contents');
19 } 'Can get_sharedir_file';