Passed
Pull Request — master (#1312)
by Michael
08:02 queued 01:46
created

SessionTest::testInit()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 5
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Xmf\Test\Module\Helper;
6
7
use PHPUnit\Framework\TestCase;
0 ignored issues
show
Bug introduced by
The type PHPUnit\Framework\TestCase was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
8
use Xmf\Module\Helper\Session;
9
10
require_once dirname(__DIR__, 5) . '/init_new.php';
11
12
class SessionTest extends TestCase
13
{
14
    /**
15
     * @var Session
16
     */
17
    protected $object;
18
19
    /**
20
     * Sets up the fixture, for example, opens a network connection.
21
     * This method is called before a test is executed.
22
     */
23
    protected function setUp(): void
24
    {
25
        $this->object = new Session();
26
    }
27
28
    /**
29
     * Tears down the fixture, for example, closes a network connection.
30
     * This method is called after a test is executed.
31
     */
32
    protected function tearDown(): void
33
    {
34
    }
35
36
    public function testInit()
37
    {
38
        // Remove the following lines when you implement this test.
39
        $this->markTestIncomplete(
40
            'This test has not been implemented yet.'
41
        );
42
    }
43
44
    public function testSet()
45
    {
46
        // Remove the following lines when you implement this test.
47
        $this->markTestIncomplete(
48
            'This test has not been implemented yet.'
49
        );
50
    }
51
52
    public function testGet()
53
    {
54
        // Remove the following lines when you implement this test.
55
        $this->markTestIncomplete(
56
            'This test has not been implemented yet.'
57
        );
58
    }
59
60
    public function testDel()
61
    {
62
        // Remove the following lines when you implement this test.
63
        $this->markTestIncomplete(
64
            'This test has not been implemented yet.'
65
        );
66
    }
67
68
    public function testDestroy()
69
    {
70
        // Remove the following lines when you implement this test.
71
        $this->markTestIncomplete(
72
            'This test has not been implemented yet.'
73
        );
74
    }
75
}
76