8 package My::Meta::Role;
10 extends 'Moose::Meta::Role';
21 my $role = My::Meta::Role->create_anon_role;
22 is($role->test_serial, 1, "default value for the serial attribute");
24 my $nine_role = My::Meta::Role->create_anon_role(test_serial => 9);
25 is($nine_role->test_serial, 9, "parameter value for the serial attribute");