5 use lib (($FindBin::Bin."/lib")=~/^(.*)$/);
6 use Test::More tests => 3;
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'}, "Didn't get Bar - the inner package");
22 use Module::Pluggable require => 1, inner => 0;
23 use base qw(Module::Pluggable);
28 return bless {}, $class;