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;
14 package My::Custom::Meta::Attr;
17 extends 'Mouse::Meta::Attribute';
21 package My::Fancy::Role;
24 has 'bling_bling' => (
25 metaclass => 'My::Custom::Meta::Attr',
35 with 'My::Fancy::Role';
38 my $c = My::Class->new;
39 isa_ok($c, 'My::Class');
41 ok($c->meta->has_attribute('bling_bling'), '... got the attribute');
43 isa_ok($c->meta->get_attribute('bling_bling'), 'My::Custom::Meta::Attr');