6 use Test::More tests => 12;
18 can_ok('Foo', 'meta');
19 isa_ok(Foo->meta, 'Moose::Meta::Class');
21 ok(!Foo->meta->has_method('meta'), '... we get the &meta method from Moose::Object');
22 ok(Foo->isa('Moose::Object'), '... Foo is automagically a Moose::Object');
24 foreach my $function (qw(
30 ok(!Foo->meta->has_method($function), '... the meta does not treat "' . $function . '" as a method');