9 use Plack::Session::State;
10 use Plack::Session::Store::Cache;
12 use t::lib::TestSessionHash;
22 my ($self, $key, $val ) = @_;
28 my ($self, $key ) = @_;
34 my ($self, $key ) = @_;
40 t::lib::TestSessionHash::run_all_tests(
41 store => Plack::Session::Store::Cache->new( cache => TestCache->new ),
42 state => Plack::Session::State->new,
44 open my $in, '<', \do { my $d };
46 'psgi.version' => [ 1, 0 ],
48 'psgi.errors' => *STDERR,
49 'psgi.url_scheme' => 'http',
51 REQUEST_METHOD => 'GET',
52 QUERY_STRING => join "&" => map { $_ . "=" . $_[0]->{ $_ } } keys %{$_[0] || +{}},