2 # This is automatically generated by author/import-moose-test.pl.
3 # DO NOT EDIT THIS FILE. ANY CHANGES WILL BE LOST!!!
4 use t::lib::MooseCompat;
11 package My::Meta::Role;
13 extends 'Mouse::Meta::Role';
24 my $role = My::Meta::Role->create_anon_role;
25 is($role->test_serial, 1, "default value for the serial attribute");
27 my $nine_role = My::Meta::Role->create_anon_role(test_serial => 9);
28 is($nine_role->test_serial, 9, "parameter value for the serial attribute");