4 use Test::More tests => 3;
9 with qw(MooseX::Getopt);
11 has 'TrackingNumber' => (
23 local @ARGV = ('--TrackingNumber','1Z1234567812345670','--otherparam','foo');
25 my $app = App->new_with_options;
27 is($app->TrackingNumber, '1Z1234567812345670', '... TrackingNumber is as expected');
28 is($app->otherparam, 'foo', '... otherparam is as expected');