The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;

use Test::More;
use Catalyst::Test ();

my $warn;
{
    local $SIG{__WARN__} = sub { $warn = shift; };
    Catalyst::Test->import();
}
ok $warn;
like $warn, qr/deprecated/;

done_testing;