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