Пример #1
0
 public function testGetContent()
 {
     $response = new StreamedResponse(function () {
         echo 'foo';
     });
     $this->assertFalse($response->getContent());
 }