5 use Test::More tests => 6;
9 ok( !Unimport->can('foo'),
10 'first function correctly removed' );
11 ok( Unimport->can('bar'),
12 'excluded method still in package' );
13 ok( !Unimport->can('baz'),
14 'second function correctly removed' );
15 ok( Unimport->can('qux'),
16 'last method still in package' );
17 is( Unimport->qux, 23,
18 'all functions are still bound' );