6 use Test::More tests => 1;
10 package MockFooException;
12 sub new { bless {}, shift };
14 my ( $self, $class ) = @_;
15 return 1 if $class eq 'Foo';
16 return $self->SUPER::isa( $class );
20 throws_ok { die MockFooException->new } 'Foo',
21 'Understand exception classes that override isa';