ClientTest::testEmptyCache()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
/**
3
 * xMDB-API
4
 *
5
 * Copyright © 2017 pudelek.org.pl
6
 *
7
 * @license MIT License (MIT)
8
 *
9
 * For the full copyright and license information, please view source file
10
 * that is bundled with this package in the file LICENSE
11
 *
12
 * @author Marcin Pudełek <[email protected]>
13
 */
14
15
16
namespace mrcnpdlk\MojePanstwo;
17
18
19
use Psr\Log\NullLogger;
20
21
class ClientTest extends TestCase
22
{
23
    public function setUp()
24
    {
25
        parent::setUp();
26
    }
27
28
    public function testEmptyLogger()
29
    {
30
        $oClient = new \mrcnpdlk\Xmdb\Client();
31
        $this->assertInstanceOf(NullLogger::class, $oClient->getLogger());
32
    }
33
34
    public function testEmptyCache()
35
    {
36
        $oClient = new \mrcnpdlk\Xmdb\Client();
37
        $this->assertInstanceOf(NullLogger::class, $oClient->getLogger());
38
    }
39
40
41
}
42