Passed
Push — develop ( 6bfba2...d35452 )
by Nikolay
05:12
created

WorkerApiCommandsTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
dl 0
loc 8
rs 10
c 1
b 0
f 0
1
<?php
2
/**
3
 * Copyright (C) MIKO LLC - All Rights Reserved
4
 * Unauthorized copying of this file, via any medium is strictly prohibited
5
 * Proprietary and confidential
6
 * Written by Nikolay Beketov, 7 2020
7
 *
8
 */
9
10
namespace MikoPBX\Tests\PBXCoreREST\Workers;
11
12
use MikoPBX\PBXCoreREST\Workers\WorkerApiCommands;
13
use MikoPBX\Tests\Unit\AbstractUnitTest;
14
15
class WorkerApiCommandsTest extends AbstractUnitTest
16
{
17
18
    public function testStart()
19
    {
20
        $workerClassname = WorkerApiCommands::class;
21
        $worker = new $workerClassname();
22
        $worker->start([]);
23
    }
24
}
25