use strict;
use warnings;
-use Test::More tests => 35;
+use Test::More tests => 37;
use Test::Exception;
BEGIN {
[ 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(