16 'My::Role::baz(' . $next->(@_) . ')';
24 sub baz { 'Foo::baz' }
26 __PACKAGE__->meta->make_immutable(debug => 0);
32 is($foo->baz, 'Foo::baz', '... got the right value');
35 My::Role->meta->apply($foo)
36 }, undef, '... successfully applied the role to immutable instance' );
38 is($foo->baz, 'My::Role::baz(Foo::baz)', '... got the right value');