7 eval "require MooseX::StrictConstructor; use Test::Exception; 1;";
8 plan skip_all => 'This test requires MooseX::StrictConstructor and Test::Exception'
17 use MooseX::Singleton;
18 use MooseX::StrictConstructor;
25 MySingleton->new( bad_name => 42 )
27 qr/Found unknown attribute/,
28 'singleton class also has a strict constructor';