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;
18 has 'foo' => (is => 'rw');
23 #my $c = SomeClass->new;
24 #isa_ok( $c, 'SomeClass');
26 for my $modifier_type (qw[ before around after ]) {
27 my $get_func = "get_${modifier_type}_method_modifiers";
28 my @mms = eval{ SomeRole->meta->$get_func('foo') };
29 is($@, '', "$get_func for no method mods does not die");
30 is(scalar(@mms),0,'is an empty list');