lithium\tests\integration\net\socket\CurlTest::testClose PHP Метод

testClose() публичный Метод

public testClose ( )
    public function testClose()
    {
        $stream = new Curl($this->_testConfig);
        $result = $stream->open();
        $this->assertNotEmpty($result);
        $result = $stream->close();
        $this->assertTrue($result);
        $result = $stream->resource();
        $this->assertNotInternalType('resource', $result);
    }