5 use lib "$FindBin::Bin/lib";
6 use Test::More tests => 3;
10 ok($foo = MyTest->new());
13 my @expected = qw(Acme::MyTest::Plugin::Foo MyTest::Extend::Plugin::Bar);
14 ok(@plugins = sort $foo->plugins);
16 is_deeply(\@plugins, \@expected);
21 use File::Spec::Functions qw(catdir);
23 use File::Spec::Functions qw(catdir);
24 use Module::Pluggable (search_path => ["MyTest::Extend::Plugin", "Acme::MyTest::Plugin"]);
29 return bless {}, $class;