public function testTimeout() { $stream = new Stream($this->_testConfig); $result = $stream->open(); $stream->timeout(10); $result = $stream->resource(); $this->assertTrue(is_resource($result)); }
public function testTimeout() { $stream = new Stream($this->_testConfig); $result = $stream->open(); $stream->timeout(10); $result = $stream->resource(); $this->assertInternalType('resource', $result); }