function testGetContentLength() { $req = new Request(); $req->mock(array("HTTP_CONTENT_LENGTH" => 10)); $this->assertEquals(10, $req->getContentLength()); }
function testGetContentLength() { $req = new Request(); $req->mock(array("HTTP_CONTENT_LENGTH" => 10)); $this->assertEquals(10, $req->getContentLength()); }