5 use lib "$FindBin::Bin/lib";
6 use Test::More tests => 3;
9 ok($foo = MyTest->new());
12 my @expected = qw(MyTest::Plugin::Bar MyTest::Plugin::Foo MyTest::Plugin::Quux::Foo);
13 ok(@plugins = sort $foo->foo);
14 is_deeply(\@plugins, \@expected);
21 use Module::Pluggable ( sub_name => 'foo');
26 return bless {}, $class;