getDownloader(); $video = $downloader->getVideo('https://www.youtube.com/watch?v=dQw4w9WgXcQ', '135'); $this->stream = new YoutubeStream($downloader, $video); } /** * Test the getMetadata() function. * * @return void */ public function testGetMetadataWithKey() { $this->assertNull($this->stream->getMetadata('foo')); } /** * Test the detach() function. * * @return void */ public function testDetach() { $this->assertNull($this->stream->detach()); } }