uawdijnntqw1x1x1
IP : 13.58.228.74
Hostname : ns1.eurodns.top
Kernel : Linux ns1.eurodns.top 4.18.0-553.5.1.lve.1.el7h.x86_64 #1 SMP Fri Jun 14 14:24:52 UTC 2024 x86_64
Disable Function : mail,sendmail,exec,passthru,shell_exec,system,popen,curl_multi_exec,show_source,eval,open_base
OS : Linux
PATH:
/
home
/
sudancam
/
public_html
/
..
/
.trash
/
system
/
storage
/
vendor
/
guzzlehttp
/
streams
/
tests
/
NullStreamTest.php
/
/
<?php namespace GuzzleHttp\Tests\Stream; use GuzzleHttp\Stream\NullStream; class NullStreamTest extends \PHPUnit_Framework_TestCase { public function testDoesNothing() { $b = new NullStream(); $this->assertEquals('', $b->read(10)); $this->assertEquals(4, $b->write('test')); $this->assertEquals('', (string) $b); $this->assertNull($b->getMetadata('a')); $this->assertEquals([], $b->getMetadata()); $this->assertEquals(0, $b->getSize()); $this->assertEquals('', $b->getContents()); $this->assertEquals(0, $b->tell()); $this->assertTrue($b->isReadable()); $this->assertTrue($b->isWritable()); $this->assertTrue($b->isSeekable()); $this->assertFalse($b->seek(10)); $this->assertTrue($b->eof()); $b->detach(); $this->assertTrue($b->eof()); $b->close(); } /** * @expectedException \GuzzleHttp\Stream\Exception\CannotAttachException */ public function testCannotAttach() { $p = new NullStream(); $p->attach('a'); } }
/home/sudancam/public_html/../.trash/system/storage/vendor/guzzlehttp/streams/tests/NullStreamTest.php