4 use Test::More tests => 6;
6 use Test::NoWarnings 1.04 ':early';
9 'Getopt::Long::Descriptive' => 0.01, # skip all if not installed
12 use_ok('MooseX::Getopt');
18 with 'MooseX::Getopt';
37 $foo = Testing::Foo->new_with_options(baz => 100);
38 }, '... this should work';
39 isa_ok($foo, 'Testing::Foo');
41 is($foo->bar, 10, '... got the right values');
42 is($foo->baz, 100, '... got the right values');