You are here

public function StreamedResponseTest::testSendContentWithNonCallable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/StreamedResponseTest.php \Symfony\Component\HttpFoundation\Tests\StreamedResponseTest::testSendContentWithNonCallable()

@expectedException \LogicException

File

vendor/symfony/http-foundation/Tests/StreamedResponseTest.php, line 84

Class

StreamedResponseTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testSendContentWithNonCallable() {
  $response = new StreamedResponse(null);
  $response
    ->sendContent();
}