4 use Test::More tests => 4;
5 use Test::NoWarnings 1.04 ':early';
10 with qw(MooseX::Getopt);
12 has 'TrackingNumber' => (
24 local @ARGV = ('--TrackingNumber','1Z1234567812345670','--otherparam','foo');
26 my $app = App->new_with_options;
28 is($app->TrackingNumber, '1Z1234567812345670', '... TrackingNumber is as expected');
29 is($app->otherparam, 'foo', '... otherparam is as expected');