4 use Test::More tests => 5;
5 use Mouse::Util ':test';
22 my $object = Class->new({x => 1, y => 2, z => 3});
28 Class->new('non-hashref scalar');
29 } qr/Single parameters to new\(\) must be a HASH ref/;
33 } "Class->new(undef) specifically doesn't throw an error. weird"