use strict;
use warnings;
-use Test::More 'no_plan';
+use Test::More;
+use Test::Exception;
+BEGIN {
+ plan skip_all => "Moose required for this test" unless eval { require Moose && Moose->VERSION('0.59') };
+ plan tests => 27;
+}
+
use Test::Exception;
{