4 use Test::More tests => 2;
8 use MooseX::Types::UUID qw(UUID);
10 has 'uuid' => ( is => 'ro', isa => UUID );
14 Class->new( uuid => '77C71F92-0EC7-11DD-B986-DF138EE79F6F' );
18 Class->new( uuid => 'there is no way you could possibly think this is a UUID' );
19 } qr/does not pass the type constraint/;