1 BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
6 use Test::Exception tests => 1;
10 use DBIx::Class::ResultSource::Table;
12 my $schema = DBICTest->init_schema();
14 my $foo = DBIx::Class::ResultSource::Table->new({ name => "foo" });
15 my $bar = DBIx::Class::ResultSource::Table->new({ name => "bar" });
18 $schema->register_source(foo => $foo);
19 $schema->register_source(bar => $bar);
20 } 'multiple classless sources can be registered';