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