use strict;
use warnings;
-use Test::More tests => 35;
+use Test::More tests => 36;
use Test::Exception;
-BEGIN {
- use_ok('Moose::Role');
-}
-
=pod
NOTE:
[ sort $foo_role->get_method_list() ],
[ 'boo', 'foo' ],
'... got the right method list');
-
+
+ok(FooRole->can('foo'), "locally defined methods are still there");
+ok(!FooRole->can('has'), "sugar was unimported");
+
# attributes ...
is_deeply(