Commit | Line | Data |
---|---|---|
08f9c848 | 1 | use strict; |
2 | use warnings; | |
3 | use FindBin qw/$Bin/; | |
4 | use lib "$Bin/lib"; | |
41a8bf1f | 5 | use Test::More tests => 2; |
2a56ace9 | 6 | use Test::Fatal; |
08f9c848 | 7 | |
2a56ace9 | 8 | is exception { |
08f9c848 | 9 | require TestAppClassExceptionSimpleTest; |
2a56ace9 | 10 | }, undef, 'Can load application'; |
41a8bf1f | 11 | |
12 | ||
2a56ace9 | 13 | is exception { |
41a8bf1f | 14 | Catalyst::Exception->throw |
2a56ace9 | 15 | }, undef, 'throw is properly stubbed out'; |
41a8bf1f | 16 | |
17 | ||
18 |