Protocol\FCGI\Record\GetValuesTest::testPacking PHP Method

testPacking() public method

public testPacking ( )
    public function testPacking()
    {
        $request = new GetValues(array('FCGI_MPXS_CONNS'));
        $this->assertEquals(FCGI::GET_VALUES, $request->getType());
        $this->assertEquals(array('FCGI_MPXS_CONNS' => ''), $request->getValues());
        $this->assertSame(self::$rawMessage, bin2hex($request));
    }