use Test::More tests => 1; BEGIN { use Test::MockObject; Test::MockObject->fake_module ( 'HTML::Encoding', encoding_from_html_document => sub{ 'iso' } ); } use_ok( Catalyst::Test, 'LinkDB' );