5 'MooseX::SimpleConfig'; # skip all if not installed
7 # respect the configfile value passed into the constructor.
9 use Test::More tests => 2;
14 with 'MooseX::Getopt', 'MooseX::SimpleConfig';
17 is => 'ro', isa => 'Str',
18 default => 'foo default',
23 my $configfile = 't/112_configfile_constructor_arg.yml';
25 my $obj = Foo->new_with_options(configfile => $configfile);
30 'configfile value is used from the constructor',
35 'value is read in from the config file',