document object mocking

This commit is contained in:
Colin Kuskie 2006-11-09 17:50:59 +00:00
parent 8142321a52
commit 204046d283

View file

@ -32,6 +32,8 @@ my $http = $session->http;
use Test::MockObject::Extends;
##This tests mocks http's getCookies so that it doesn't have to
##try and implement the mod_perl cookie handling code.
$http = Test::MockObject::Extends->new($http);
my $cookieName = $session->config->getCookieName;
my $varId = $session->var->getId();