use warnings;
use Test::More;
-use Test::Exception;
+use Test::Fatal;
{
is($foo->baz, 'Foo::baz', '... got the right value');
-lives_ok {
+is( exception {
My::Role->meta->apply($foo)
-} '... successfully applied the role to immutable instance';
+}, undef, '... successfully applied the role to immutable instance' );
is($foo->baz, 'My::Role::baz(Foo::baz)', '... got the right value');