You are here

public function MultipartStreamTest::testEnsuresFileHasName in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/guzzlehttp/psr7/tests/MultipartStreamTest.php \GuzzleHttp\Tests\MultipartStreamTest::testEnsuresFileHasName()

@expectedException \InvalidArgumentException

File

vendor/guzzlehttp/psr7/tests/MultipartStreamTest.php, line 46

Class

MultipartStreamTest

Namespace

GuzzleHttp\Tests

Code

public function testEnsuresFileHasName() {
  new MultipartStream([
    [
      'contents' => 'bar',
    ],
  ]);
}