10 my $schema = DBICTest->init_schema(cursor_class => 'DBICTest::Cursor');
13 is($schema->resultset("Artist")->search(), 3, "Three artists returned");
14 } 'Custom cursor autoloaded';
16 # test component_class reentrancy
18 DBIx::Class::Optional::Dependencies->skip_without( 'Class::Unload>=0.07' );
20 Class::Unload->unload('DBICTest::Cursor');
23 is($schema->resultset("Artist")->search(), 3, "Three artists still returned");
24 } 'Custom cursor auto re-loaded';