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