use strict;
use warnings;
use Test::More tests => 3;
-use t::Exception;
+use Test::Exception;
do {
package Class;
use Mouse;
has foo => (
+ is => 'bare',
required => 1,
);
has bar => (
+ is => 'bare',
required => 1,
default => 50,
);
has baz => (
+ is => 'bare',
required => 1,
default => sub { 10 },
);