6 use Test::More tests => 4;
15 package Test::For::Lazy::TypeConstraint;
17 use Moose::Util::TypeConstraints;
19 has 'bad_lazy_attr' => (
23 default => sub { "test" },
26 has 'good_lazy_attr' => (
30 default => sub { [] },
35 my $test = Test::For::Lazy::TypeConstraint->new;
36 isa_ok($test, 'Test::For::Lazy::TypeConstraint');
40 } '... this does not work';
43 $test->good_lazy_attr;
44 } '... this does not work';