The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/perl

use strict;
use warnings;

use Test::More;
use Test::Exception;

require_ok( 'Enbld::Target::AttributeCollector' );

my $attributes = Enbld::Target::AttributeCollector->new;
throws_ok {
    $attributes->Invalid
} qr/ABORT:'Invalid' is invalid method/, 'invalid method';

done_testing();