public function MultipartStreamTest::testCanCreateEmptyStream in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/psr7/tests/MultipartStreamTest.php \GuzzleHttp\Tests\MultipartStreamTest::testCanCreateEmptyStream()
File
- vendor/
guzzlehttp/ psr7/ tests/ MultipartStreamTest.php, line 27
Class
Namespace
GuzzleHttp\TestsCode
public function testCanCreateEmptyStream() {
$b = new MultipartStream();
$boundary = $b
->getBoundary();
$this
->assertSame("--{$boundary}--\r\n", $b
->getContents());
$this
->assertSame(strlen($boundary) + 6, $b
->getSize());
}