8 my $schema = DBICTest->init_schema();
11 my $rs = $schema->resultset("CD")->search({});
14 is $rs, $rs->count, "resultset as number with results";
15 ok $rs, "resultset as boolean always true";
19 my $rs = $schema->resultset("CD")->search({ title => "Does not exist" });
22 is $rs, $rs->count, "resultset as number without results";
23 ok $rs, "resultset as boolean always true";