2 # This is automatically generated by author/import-moose-test.pl.
3 # DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
4 use t::lib::MooseCompat;
19 'My::Role::baz(' . $next->(@_) . ')';
27 sub baz { 'Foo::baz' }
29 __PACKAGE__->meta->make_immutable(debug => 0);
35 is($foo->baz, 'Foo::baz', '... got the right value');
38 My::Role->meta->apply($foo)
39 } '... successfully applied the role to immutable instance';
41 is($foo->baz, 'My::Role::baz(Foo::baz)', '... got the right value');