2 use warnings FATAL => 'all';
4 use Test::More tests => 6;
8 use Getopt::Long::Descriptive;
10 use_ok('MooseX::Getopt');
16 with 'MooseX::Getopt';
35 $foo = Testing::Foo->new_with_options(baz => 100);
36 }, '... this should work';
37 isa_ok($foo, 'Testing::Foo');
39 is($foo->bar, 10, '... got the right values');
40 is($foo->baz, 100, '... got the right values');