2019-04-22 19:52:21 +00:00
|
|
|
<?php
|
2019-10-03 19:24:12 +00:00
|
|
|
|
2019-04-22 19:52:21 +00:00
|
|
|
/**
|
|
|
|
* ConvertedPlaylistArchiveStreamTest class.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Alltube\Test;
|
|
|
|
|
|
|
|
use Alltube\Stream\ConvertedPlaylistArchiveStream;
|
|
|
|
use Alltube\Video;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Unit tests for the ConvertedPlaylistArchiveStream class.
|
|
|
|
*/
|
|
|
|
class ConvertedPlaylistArchiveStreamTest extends StreamTest
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Prepare tests.
|
|
|
|
*/
|
|
|
|
protected function setUp()
|
|
|
|
{
|
|
|
|
parent::setUp();
|
|
|
|
|
|
|
|
$video = new Video('https://www.youtube.com/playlist?list=PL1j4Ff8cAqPu5iowaeUAY8lRgkfT4RybJ');
|
|
|
|
|
|
|
|
$this->stream = new ConvertedPlaylistArchiveStream($video);
|
|
|
|
}
|
|
|
|
}
|