6 use Test::More tests => 27;
12 my @moose_exports = qw(
21 my @moose_not_unimported = qw(
33 ok(!$@, '... Moose succesfully exported into Foo');
35 can_ok('Foo', $_) for @moose_exports;
36 can_ok('Foo', $_) for @moose_not_unimported;
42 ok(!$@, '... Moose succesfully un-exported from Foo');
44 ok(!Foo->can($_), '... Foo can no longer do ' . $_) for @moose_exports;
45 can_ok('Foo', $_) for @moose_not_unimported;