Test with BEFORE_APPLY; this is the ultimate usecase
[dbsrgits/DBIx-Class.git] / t / resultset / components.t
CommitLineData
93b64751 1use strict;
2use warnings;
3
4use Test::More;
5
6use lib qw(t/lib);
7use DBICTest;
8
9my $schema = DBICTest->init_schema;
10
11isa_ok $schema->resultset('Artist'), 'A::Useless', 'Artist RS';
12ok !$schema->resultset('CD')->isa('A::Useless'), 'CD RS is not A::Useless';
13
a17a822d 14isa_ok $schema->resultset('Employee'), 'A::Useless', 'Employee RS';
15
93b64751 16done_testing;