isa_ok($Foo->get_method($method_name), 'Class::MOP::Method');
{
no strict 'refs';
- is($Foo->get_method($method_name)->body, \&{'Foo::' . $method_name}, '... body matches CODE ref in package');
+ is($Foo->get_method($method_name)->body, \&{'Foo::' . $method_name}, '... body matches CODE ref in package for ' . $method_name);
}
}