5 use lib (($FindBin::Bin."/lib")=~/^(.*)$/);
6 use Test::More tests => 4;
10 my $t = InnerTest->new();
12 my %plugins = map { $_ => 1 } $t->plugins;
14 ok(keys %plugins, "Got some plugins");
15 ok($plugins{'InnerTest::Plugin::Foo'}, "Got Foo");
16 ok($plugins{'InnerTest::Plugin::Bar'}, "Got Bar - the inner package");
17 ok($plugins{'InnerTest::Plugin::Quux'}, "Got Quux - the other inner package");
23 use Module::Pluggable require => 1;
24 use base qw(Module::Pluggable);
29 return bless {}, $class;