7 return bless $_[0], $class;
12 package TestAppPluginWithNewMethod;
14 use Catalyst qw/+NewTestPlugin/;
21 use Moose; # Just testing method modifiers still work.
23 our $MODIFIER_FIRED = 0;
26 before 'dispatch' => sub { $MODIFIER_FIRED = 1 }
27 } 'Can apply method modifier';