--- /dev/null
+package A::UselessRSLoader;
+
+use Class::C3::Componentised::LoadActions;
+
+AFTER_APPLY { $_[0]->result_source_instance->inject_resultset_components(['+A::Useless']) };
+
+1;
-package # hide from PAUSE
+package # hide from PAUSE
DBICTest::Schema::Employee;
use base qw/DBICTest::BaseResult/;
-__PACKAGE__->load_components(qw( Ordered ));
+__PACKAGE__->load_components(qw( Ordered +A::UselessRSLoader));
__PACKAGE__->table('employee');
isa_ok $schema->resultset('Artist'), 'A::Useless', 'Artist RS';
ok !$schema->resultset('CD')->isa('A::Useless'), 'CD RS is not A::Useless';
+isa_ok $schema->resultset('Employee'), 'A::Useless', 'Employee RS';
+
done_testing;