5 use Test::Moose qw( with_immutable );
11 use MooseX::StrictConstructor;
16 exception { Foo->new( __INSTANCE__ => Foo->new ) },
18 '__INSTANCE__ is ignored when passed to ->new',
22 exception { Foo->meta->new_object( __INSTANCE__ => Foo->new ) },
24 '__INSTANCE__ is ignored when passed to ->new_object',