9 my $c = SGN::Context->new;
11 $SIG{__DIE__} = \&Carp::confess;
13 can_ok( $c, 'feature' );
15 my $gb2 = $c->feature('gbrowse2')
16 or plan skip_all => 'gbrowse2 feature not available';
18 eval { $gb2->setup }; #< may fail if web server has done it already
20 my @xrefs = $gb2->xrefs('Serine'), $gb2->xrefs('TG154');
22 my @methods = qw/preview_image_url is_empty text
23 url feature data_source seqfeatures
26 can_ok( $_, @methods ) for @xrefs;