convert all uses of Test::Exception to Test::Fatal
[catagits/Catalyst-Runtime.git] / t / custom_exception_class_simple.t
CommitLineData
08f9c848 1#!/usr/bin/env perl
2
3use strict;
4use warnings;
5use FindBin qw/$Bin/;
6use lib "$Bin/lib";
41a8bf1f 7use Test::More tests => 2;
2a56ace9 8use Test::Fatal;
08f9c848 9
2a56ace9 10is exception {
08f9c848 11 require TestAppClassExceptionSimpleTest;
2a56ace9 12}, undef, 'Can load application';
41a8bf1f 13
14
2a56ace9 15is exception {
41a8bf1f 16 Catalyst::Exception->throw
2a56ace9 17}, undef, 'throw is properly stubbed out';
41a8bf1f 18
19
20