AdresarTest   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 46
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 5
eloc 6
dl 0
loc 46
rs 10
c 0
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 3 1
A testGetCellPhoneNumber() 0 3 1
A testGetNotificationEmailAddress() 0 3 1
A testGetAnyPhoneNumber() 0 3 1
A tearDown() 0 2 1
1
<?php
2
/**
3
 * FlexiPeeHP - Objekt adresáře.
4
 *
5
 * @author     Vítězslav Dvořák <[email protected]>
6
 * @copyright  (C) 2015-2017 Spoje.Net
7
 */
8
9
namespace Test\FlexiPeeHP;
10
11
use FlexiPeeHP\Adresar;
12
13
/**
14
 * Generated by PHPUnit_SkeletonGenerator on 2016-04-27 at 17:54:36.
15
 */
16
class AdresarTest extends FlexiBeeRWTest
17
{
18
    /**
19
     * @var Adresar
20
     */
21
    protected $object;
22
23
    /**
24
     * Sets up the fixture, for example, opens a network connection.
25
     * This method is called before a test is executed.
26
     */
27
    protected function setUp(): void
28
    {
29
        $this->object = new Adresar();
30
    }
31
32
    /**
33
     * @covers FlexiPeeHP\Adresar::getNotificationEmailAddress
34
     */
35
    public function testGetNotificationEmailAddress()
36
    {
37
        $this->object->getNotificationEmailAddress();
38
    }
39
40
    /**
41
     * @covers FlexiPeeHP\Adresar::getCellPhoneNumber
42
     */
43
    public function testGetCellPhoneNumber()
44
    {
45
        $this->object->getCellPhoneNumber();
46
    }
47
48
    /**
49
     * @covers FlexiPeeHP\Adresar::getAnyPhoneNumber
50
     */
51
    public function testGetAnyPhoneNumber()
52
    {
53
        $this->object->getAnyPhoneNumber();
54
    }
55
56
    /**
57
     * Tears down the fixture, for example, closes a network connection.
58
     * This method is called after a test is executed.
59
     */
60
    protected function tearDown(): void
61
    {
62
        
63
    }
64
}
65