6 use lib "$FindBin::Bin/lib";
8 use Test::More tests=>5;
11 #diag "Module::Pluggable::VERSION $Module::Pluggable::VERSION";
13 my @plugins = MyTest->plugins;
16 use_ok( 'MyTest::Plugin::Foo' );
17 ok( my $foo = MyTest::Plugin::Foo->new() );
19 @plugins_after = MyTest->plugins;
23 "plugins haven't been clobbered",
26 can_ok ($foo, 'frobnitz');
28 @plugins_after = MyTest->plugins;
32 "plugins haven't been clobbered",
40 use Module::Pluggable;
45 return bless {}, $class;