use strictures 2;

use Test::More;

use_ok('Net::Blossom');
use_ok('Net::Blossom::AuthToken');
use_ok('Net::Blossom::BlobDescriptor');
use_ok('Net::Blossom::Client');
use_ok('Net::Blossom::Error');
use_ok('Net::Blossom::PaymentRequired');
use_ok('Net::Blossom::Response');
use_ok('Net::Blossom::ServerList');
use_ok('Net::Blossom::URI');

my $client = Net::Blossom->client(server => 'https://cdn.example.com');
isa_ok($client, 'Net::Blossom::Client', 'client wrapper');
is($client->server, 'https://cdn.example.com', 'client wrapper passes arguments through');

done_testing;
