Completed
Push — master ( de2193...addab9 )
by André
68:04 queued 44:50
created

CreateUserGroupSlotTest::createSignal()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 6
rs 9.4285
1
<?php
2
3
/**
4
 * @copyright Copyright (C) eZ Systems AS. All rights reserved.
5
 * @license For full copyright and license information view LICENSE file distributed with this source code.
6
 */
7
namespace eZ\Publish\Core\MVC\Symfony\Cache\Tests\Http\SignalSlot;
8
9
use eZ\Publish\Core\SignalSlot\Signal\UserService\CreateUserGroupSignal;
10
11
class CreateUserGroupSlotTest extends AbstractPurgeForContentSlotTest implements SlotTest, PurgeForContentExpectation
12
{
13
    public static function createSignal()
14
    {
15
        return new CreateUserGroupSignal([
16
            'userGroupId' => self::getContentId(),
17
        ]);
18
    }
19
20
    public function getSlotClass()
21
    {
22
        return 'eZ\Publish\Core\MVC\Symfony\Cache\Http\SignalSlot\CreateUserGroupSlot';
23
    }
24
25
    public static function getReceivedSignalClasses()
26
    {
27
        return ['eZ\Publish\Core\SignalSlot\Signal\UserService\CreateUserGroupSignal'];
28
    }
29
}
30