public function testGetAudioStream($url, $format) { $stream = $this->download->getAudioStream($url, $format); $this->assertInternalType('resource', $stream); $this->assertFalse(feof($stream)); }