Example #1
0
 /**
  * @covers Request::getLong
  */
 public function testGetLong()
 {
     $_SERVER['REQUEST_METHOD'] = 'POST';
     $_GET['id'] = 12;
     $key = "id";
     $actual = $this->req->getLong($key);
     $excepted = 12;
     $this->assertEquals($excepted, $actual);
 }