alltube/tests/YoutubeChunkStreamTest.php
2019-04-22 21:53:04 +02:00

27 lines
498 B
PHP

<?php
/**
* YoutubeChunkStreamTest class.
*/
namespace Alltube\Test;
use Alltube\Stream\YoutubeChunkStream;
use Alltube\Video;
/**
* Unit tests for the YoutubeChunkStream class.
*/
class YoutubeChunkStreamTest extends StreamTest
{
/**
* Prepare tests.
*/
protected function setUp()
{
parent::setUp();
$video = new Video('https://www.youtube.com/watch?v=dQw4w9WgXcQ');
$this->stream = new YoutubeChunkStream($video->getHttpResponse());
}
}