### ----------------------------------------------------
### -- Shodan
### -- Licenses: Artistic-2.0
### -- Authors: Sarah Fuller
### -- File: t/01-basic.rakutest
### ----------------------------------------------------
use Test;
use Shodan;

plan :skip-all<Author tests not required for installation> unless (%*ENV{'SHODAN_TESTING'});
plan 4;

use-ok 'Shodan';

my $shodan = Shodan.new(api-key => %*ENV{'SHODAN_API_KEY'});

isa-ok($shodan, 'Shodan');

isa-ok($shodan.api-info, 'Hash', '.api-info');

isa-ok($shodan.account-profile, 'Hash', '.account-profile');

done-testing;


