mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
35 lines
811 B
PHP
35 lines
811 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\TaskManager\Job;
|
|
|
|
use Alchemy\Phrasea\Application;
|
|
use Alchemy\Phrasea\TaskManager\Job\AbstractJob;
|
|
use Alchemy\Phrasea\TaskManager\Job\EmptyCollectionJob;
|
|
use Prophecy\Prophecy\ObjectProphecy;
|
|
use Symfony\Component\Translation\TranslatorInterface;
|
|
|
|
class EmptyCollectionJobTest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @var ObjectProphecy
|
|
*/
|
|
private $translator;
|
|
|
|
/**
|
|
* @var EmptyCollectionJob
|
|
*/
|
|
private $sut;
|
|
|
|
protected function setUp()
|
|
{
|
|
$this->translator = $this->prophesize(TranslatorInterface::class);
|
|
|
|
$this->sut = new EmptyCollectionJob($this->translator->reveal());
|
|
}
|
|
|
|
public function testItExtendsAbstractJob()
|
|
{
|
|
$this->assertInstanceOf(AbstractJob::class, $this->sut);
|
|
}
|
|
}
|