7 use Test::More tests => 4 + 1; # plus one for warnings check
8 use RT::Test nodb => 1;
10 my $shredder_utils = RT::Test::get_relocatable_file('utils.pl',
11 File::Spec->curdir());
12 require $shredder_utils;
16 use_ok('RT::Shredder::Plugin');
17 my $plugin_obj = RT::Shredder::Plugin->new;
18 isa_ok($plugin_obj, 'RT::Shredder::Plugin');
19 my ($status, $msg) = $plugin_obj->LoadByName('Summary');
20 ok($status, 'loaded summary plugin') or diag "error: $msg";
21 isa_ok($plugin_obj, 'RT::Shredder::Plugin::Summary');