2 use warnings FATAL => 'all';
5 use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
7 use Test::Without::Module 'MooseX::Getopt';
10 package Foo::NoOptions;
13 with qw(MooseX::ConfigFromFile);
14 sub get_config_from_file { }
18 !Foo::NoOptions->meta->find_attribute_by_name('configfile')->does('MooseX::Getopt::Meta::Attribute::Trait'),
19 'the Getopt attr trait is not added if not installed',