mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 23:43:12 +00:00
20 lines
435 B
PHP
20 lines
435 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\TaskManager\Event;
|
|
|
|
use Alchemy\Phrasea\TaskManager\Event\JobFinishedEvent;
|
|
|
|
/**
|
|
* @group functional
|
|
* @group legacy
|
|
*/
|
|
class JobFinishedEventTest extends \PhraseanetTestCase
|
|
{
|
|
public function testEvent()
|
|
{
|
|
$task = $this->getMock('Alchemy\Phrasea\Model\Entities\Task');
|
|
$event = new JobFinishedEvent($task);
|
|
$this->assertSame($task, $event->getTask());
|
|
}
|
|
}
|