The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;

use Test::More tests => 5;
use Pod::ROBODoc;

#-------------------------------------------------------------------------------
# Setup variables
#-------------------------------------------------------------------------------
my $pr;

#-------------------------------------------------------------------------------
# Test instantiation and API
#-------------------------------------------------------------------------------
eval { $pr = Pod::ROBODoc->new() };
is( $@, q{}, 'new without options succeeds' );
isa_ok( $pr, 'Pod::ROBODoc' );
can_ok( $pr, qw( convert filter ));

eval { 
    $pr = Pod::ROBODoc->new(
        skipblanks => 1,
        keepsource => 1,
        customtags => [ 'VERSION', 'TODO' ],
    ) 
};
is( $@, q{}, 'new with all options succeeds' );
isa_ok( $pr, 'Pod::ROBODoc' );