5 use CXGN
::DB
::Connection
;
6 use CXGN
::UserList
::Handle
;
11 $dbh = CXGN
::DB
::Connection
->new;
13 if ($@
=~ m/DBI connect/){
14 plan skip_all
=> "Could not connect to database";
19 my $handle = CXGN
::UserList
::Handle
->new($dbh, 768);
20 ok
(defined $handle, '$handle is defined');
21 my $hotlist = $handle->get_hotlist();
22 ok
(defined $hotlist, "get_hotlist()");
23 ok
(defined $hotlist->get_list_size, "hotlist size");