for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the eZ Publish Kernel package.
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
namespace eZ\Publish\Core\MVC\Symfony\Cache\Tests\Http\SignalSlot;
use eZ\Publish\Core\MVC\Symfony\Cache\Http\SignalSlot\UpdateUserSlot;
use eZ\Publish\Core\SignalSlot\Signal\UserService\UpdateUserSignal;
class UpdateUserSlotTest extends AbstractPurgeForContentSlotTest implements SlotTest, PurgeForContentExpectation
{
public static function createSignal()
return new UpdateUserSignal(['userId' => self::getContentId()]);
}
public function getSlotClass()
return UpdateUserSlot::class;
public static function getReceivedSignalClasses()
return [UpdateUserSignal::class];