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;
8 $TODO = q{Mouse is not yet completed};
10 use Mouse::Util qw( add_method_modifier );
22 add_method_modifier('Foo', 'before', [ ['foo', 'bar'], sub { $COUNT++ } ]);
23 } 'method modifier with an arrayref';
26 add_method_modifier('Foo', 'before', [ {'foo' => 'bar'}, sub { $COUNT++ } ]);
27 } 'method modifier with a hashref';
32 is($COUNT, 2, "checking that the modifiers were installed.");