4 use Test::More tests => 5;
8 'Getopt::Long::Descriptive' => 0.01, # skip all if not installed
11 use_ok('MooseX::Getopt');
17 with 'MooseX::Getopt';
36 $foo = Testing::Foo->new_with_options(baz => 100);
37 }, '... this should work';
38 isa_ok($foo, 'Testing::Foo');
40 is($foo->bar, 10, '... got the right values');
41 is($foo->baz, 100, '... got the right values');