6 use Test::More tests => 5;
9 use_ok( 'WWW::Mechanize::Link' );
13 my $link = WWW::Mechanize::Link->new( 'url.html', 'Click here', undef, undef );
14 isa_ok( $link, 'WWW::Mechanize::Link', 'constructor OK' );
17 isa_ok( $URI, 'URI::URL', 'URI is proper type' );
18 is( $URI->rel, 'url.html', 'Short form of the url' );
19 is( $link->url_abs, 'url.html', 'url_abs works' );