3 use Test::More tests => 4;
14 __PACKAGE__->meta->make_immutable;
27 lives_ok { SoftDog->new(bone => 'moo') };
28 lives_ok { HardDog->new(bone => 'moo') };
30 throws_ok { SoftDog->new() } qr/\QAttribute (bone) is required/;
31 throws_ok { HardDog->new() } qr/\QAttribute (bone) is required/;