10 my $schema = DBICTest->init_schema(cursor_class => 'DBICTest::Cursor');
13 is($schema->resultset("Artist")->search(), 3, "Three artists returned");
14 } 'Custom cursor autoloaded';
17 eval { require Class::Unload }
18 or skip 'component_class reentrancy test requires Class::Unload', 1;
20 Class::Unload->unload('DBICTest::Cursor');
23 is($schema->resultset("Artist")->search(), 3, "Three artists still returned");
24 } 'Custom cursor auto re-loaded';