1
0
mirror of https://github.com/Rudloff/alltube.git synced 2024-06-26 07:29:06 +02:00
alltube/tests/ViewFactoryTest.php
Pierre Rudloff 29c432c159 Lint
2017-04-26 01:00:07 +02:00

28 lines
478 B
PHP

<?php
/**
* ViewFactoryTest class.
*/
namespace Alltube\Test;
use Alltube\ViewFactory;
use Slim\Container;
use Slim\Views\Smarty;
/**
* Unit tests for the ViewFactory class.
*/
class ViewFactoryTest extends \PHPUnit_Framework_TestCase
{
/**
* Test the create() function.
*
* @return void
*/
public function testCreate()
{
$view = ViewFactory::create(new Container());
$this->assertInstanceOf(Smarty::class, $view);
}
}