use strict;
use warnings;

use Test::More tests => 19;
use Test::Exception;

use constant METHODS => (
    'new', 'username', 'password', 'server', 'cookie', 'show', 'edit',
    'create', 'comment', 'correspond', 'merge_tickets', 'link_tickets',
    'unlink_tickets', 'search', 'get_attachment_ids', 'get_attachment',
    'get_transaction_ids', 'get_transaction',
);

use RT::Client::REST;

my $rt;

lives_ok {
    $rt = RT::Client::REST->new;
} 'RT::Client::REST instance created';

for my $method (METHODS) {
    can_ok($rt, $method);
}

# vim:ft=perl:
