1 # See t/plugin_new_method_backcompat.t
2 package TestAppPluginWithConstructor;
5 use Catalyst qw/+TestPluginWithConstructor/;
7 BEGIN { extends qw/Catalyst Catalyst::Controller/ } # Ewww, FIXME.
15 our $MODIFIER_FIRED = 0;
18 before 'dispatch' => sub { $MODIFIER_FIRED = 1 }
19 } 'Can apply method modifier';
22 our $IS_IMMUTABLE_YET = __PACKAGE__->meta->is_immutable;
23 ok !$IS_IMMUTABLE_YET, 'I am not immutable yet';