4 use Test::More tests => 2;
5 use Test::NoWarnings 1.04 ':early';
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',