2 use warnings FATAL => 'all';
6 use HTTP::Request::Common qw(GET POST);
9 package t::Web::Simple::ResponseFilter;
11 sub dispatch_request {
17 [ 'Content-Type' => 'text/html' ],
23 bless {name=>'john'}, 'CrazyHotWildWet';
28 ok my $app = t::Web::Simple::ResponseFilter->new->to_psgi_app,
33 my $res = $cb->(GET "/index.html");
34 like $res->content, qr/john/,
35 'Got Expected Content';