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);
14 ok(@plugins = sort $foo->plugins);
15 is_deeply(\@plugins, \@expected);
19 use File::Spec::Functions qw(catdir);
21 use Module::Pluggable search_path => "Acme::MyTest::Plugin";
26 return bless {}, $class;