Institute a central "load this first in testing" package
[dbsrgits/DBIx-Class.git] / t / resultsource / bare_resultclass_exception.t
CommitLineData
c0329273 1BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
2
4f52479b 3use strict;
4use warnings;
5
6use Test::More;
7use Test::Exception;
8
4f52479b 9use DBICTest;
10
11{
12 package DBICTest::Foo;
13 use base "DBIx::Class::Core";
14}
15
16throws_ok { DBICTest::Foo->new("urgh") } qr/must be a hashref/;
17
18done_testing;