5 use lib "$FindBin::Bin/lib";
6 use Test::More tests => 2;
10 ok($foo = MyTest->new());
13 my @plugins = sort $foo->plugins;
14 is_deeply(\@plugins, \@expected);
18 use File::Spec::Functions qw(catdir);
20 use Module::Pluggable (search_path => ["No::Such::Modules"]);
21 use base qw(Module::Pluggable);
26 return bless {}, $class;