6 use Test::More no_plan => 1;
11 use_ok('Moose::Util::TypeConstraints');
23 # Defining this causes the FIRST call to Baz->new w/o param to fail,
24 # if no call to ANY Moose::Object->new was done before.
30 my $obj = eval { Foo->new; };
31 ::like( $@, qr/is required/, "... Foo plain" );
32 ::is( $obj, undef, "... the object is undef" );