my $dp = Web::Dispatch::Parser->new;
{
+ my $all = $dp->parse('');
+
+ is_deeply(
+ [ $all->({ REQUEST_METHOD => 'GET' }) ],
+ [ {} ],
+ 'GET matches'
+ );
+
+ is_deeply(
+ [ $all->({ REQUEST_METHOD => 'POST' }) ],
+ [ {} ],
+ 'POST matches'
+ );
+};
+
+{
my $get = $dp->parse('GET');
is_deeply(