#!/usr/bin/env perl use strict; use warnings; use Catmandu::Util qw(is_instance); use Test::More; use Test::Exception; my $pkg; BEGIN { $pkg = 'Catmandu::Fix::copy'; use_ok $pkg; } ok is_instance($pkg->new('foo', 'bar'), 'Catmandu::Fix::copy_field'); done_testing;