alltube/tests/PlaylistArchiveStreamTest.php

28 lines
524 B
PHP

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