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