6 use Test::More tests => 5;
10 'Getopt::Long::Descriptive' => 0.01, # skip all if not installed
13 use_ok('MooseX::Getopt');
19 with 'MooseX::Getopt';
38 $foo = Testing::Foo->new_with_options(baz => 100);
39 } '... this should work';
40 isa_ok($foo, 'Testing::Foo');
42 is($foo->bar, 10, '... got the right values');
43 is($foo->baz, 100, '... got the right values');