Passed
Push — master ( 21643f...a0935b )
by Vítězslav
04:01
created

AdresarTest   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 38
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 4
eloc 5
dl 0
loc 38
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 3 1
A testGetCellPhoneNumber() 0 3 1
A testGetNotificationEmailAddress() 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()
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
     * Tears down the fixture, for example, closes a network connection.
50
     * This method is called after a test is executed.
51
     */
52
    protected function tearDown()
53
    {
54
        
55
    }
56
}
57