Completed
Push — ezp25003-trash_subitems_count_... ( 5e3f64...ad54bd )
by André
29:42
created

TrashSlotTest::getReceivedSignalClasses()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 2
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 4
rs 10
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\TrashService\TrashSignal;
12
13
class TrashSlotTest extends AbstractPurgeForContentSlotTest implements SlotTest, PurgeForContentExpectation
14
{
15
    protected static $locationIds = [45, 43];
16
17
    public static function createSignal()
18
    {
19
        return new TrashSignal(['contentId' => self::getContentId(), 'locationId' => 45, 'parentLocationId' => 43]);
20
    }
21
22
    public function getSlotClass()
23
    {
24
        return 'eZ\Publish\Core\MVC\Symfony\Cache\Http\SignalSlot\TrashSlot';
25
    }
26
27
    public static function getReceivedSignalClasses()
28
    {
29
        return ['eZ\Publish\Core\SignalSlot\Signal\TrashService\TrashSignal'];
30
    }
31
}
32