downloader->getVideo('https://www.youtube.com/watch?v=dQw4w9WgXcQ', '135'); $this->stream = new YoutubeStream($this->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()); } }