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