Completed
Push — EZP-29891 ( 916cf6...0402ff )
by
unknown
16:53
created

MoveSubtreeSlotTest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 3
lcom 0
cbo 2

3 Methods

Rating   Name   Duplication   Size   Complexity  
A createSignal() 0 4 1
A getSlotClass() 0 4 1
A getReceivedSignalClasses() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of the eZ Publish Kernel package.
5
 *
6
 * @copyright Copyright (C) eZ Systems AS. All rights reserved.
7
 * @license For full copyright and license information view LICENSE file distributed with this source code.
8
 */
9
namespace eZ\Publish\Core\MVC\Symfony\Cache\Tests\Http\SignalSlot;
10
11
use eZ\Publish\Core\SignalSlot\Signal\LocationService\MoveSubtreeSignal;
12
13
class MoveSubtreeSlotTest extends AbstractPurgeAllSlotTest implements SlotTest
14
{
15
    public static function createSignal()
16
    {
17
        return new MoveSubtreeSignal();
18
    }
19
20
    public function getSlotClass()
21
    {
22
        return 'eZ\Publish\Core\MVC\Symfony\Cache\Http\SignalSlot\MoveSubtreeSlot';
23
    }
24
25
    public static function getReceivedSignalClasses()
26
    {
27
        return ['eZ\Publish\Core\SignalSlot\Signal\LocationService\MoveSubtreeSignal'];
28
    }
29
}
30