tests/Http/RequestTest.php
/**
     * Tests the ability to get query information.
     */
Tests the ability to get query information.
Tests the ability to get query information .
public function testGetQuery()
    {
        $this->assertEquals('50', $this->request->query('id'));
        $this->assertEquals(0x1, $this->request->query('nonexistent', 0x1));
        $this->assertNull($this->request->query('password'));
    }
public function testGetQuery ( ) { $ this -> assertEquals ( '50' , $ this -> request -> query ( 'id' ) ) ; $ this -> assertEquals ( 0x1 , $ this -> request -> query ( 'nonexistent' , 0x1 ) ) ; $ this -> assertNull ( $ this -> request -> query ( 'password' ) ) ; }
Tests the ability to get query information.
Tests the ability to get query information .