Passed
Push — master ( 1a6375...8f4058 )
by Petr
08:21 queued 05:12
created

CallsTest::testClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
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 5
rs 10
1
<?php
2
3
namespace tests\ChecksTests\TraitsTests;
4
5
6
use tests\CommonTestClass;
7
use kalanis\kw_mime\MimeException;
8
9
10
class CallsTest extends CommonTestClass
11
{
12
    /**
13
     * @throws MimeException
14
     * @requires function mime_content_type
15
     */
16
    public function testClass(): void
17
    {
18
        $lib = new XCalls();
19
        $lib->checkMimeClass();
20
        $this->assertTrue(true);
21
    }
22
23
    /**
24
     * @throws MimeException
25
     * @requires function mime_content_type
26
     */
27
    public function testMethod(): void
28
    {
29
        $lib = new XCalls();
30
        $lib->checkMimeMethod();
31
        $this->assertTrue(true);
32
    }
33
34
    /**
35
     * @throws MimeException
36
     * @requires function mime_content_type
37
     */
38
    public function testFunction(): void
39
    {
40
        $lib = new XCalls();
41
        $lib->checkMimeFunction();
42
        $this->assertTrue(true);
43
    }
44
}
45