Warn on case_sensitive being set, remove documentation
[catagits/Catalyst-Runtime.git] / t / lib / TestAppPluginWithConstructor.pm
index 30818f8..5b4b8c1 100644 (file)
@@ -1,15 +1,11 @@
 # See t/plugin_new_method_backcompat.t
 package TestAppPluginWithConstructor;
+use Test::More;
 use Test::Exception;
 use Catalyst qw/+TestPluginWithConstructor/;
 use Moose;
 BEGIN { extends qw/Catalyst Catalyst::Controller/ } # Ewww, FIXME.
 
-sub foo : Local {
-    my ($self, $c) = @_;
-    $c->res->body('foo');
-}
-
 __PACKAGE__->setup;
 our $MODIFIER_FIRED = 0;
 
@@ -18,5 +14,8 @@ lives_ok {
 } 'Can apply method modifier';
 no Moose;
 
+our $IS_IMMUTABLE_YET = __PACKAGE__->meta->is_immutable;
+ok !$IS_IMMUTABLE_YET, 'I am not immutable yet';
+
 1;