Passed
Push — master ( f5d5b7...fa7e67 )
by Vítězslav
05:58
created

SmlouvaTest::tearDown()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Test\FlexiPeeHP;
4
5
use FlexiPeeHP\Smlouva;
6
7
/**
8
 * Generated by PHPUnit_SkeletonGenerator on 2016-06-10 at 12:31:59.
9
 */
10
class SmlouvaTest extends FlexiBeeRWTest
11
{
12
    /**
13
     * @var Smlouva
14
     */
15
    protected $object;
16
17
    /**
18
     * Sets up the fixture, for example, opens a network connection.
19
     * This method is called before a test is executed.
20
     */
21
    protected function setUp()
22
    {
23
        $this->object = new Smlouva();
24
    }
25
26
    /**
27
     * Tears down the fixture, for example, closes a network connection.
28
     * This method is called after a test is executed.
29
     */
30
    protected function tearDown()
31
    {
32
        
33
    }
34
35
    /**
36
     * @covers FlexiPeeHP\Smlouva::generovaniFaktur
37
     */
38
    public function testGenerovaniFaktur()
39
    {
40
        $this->object->setMyKey(1);
41
        $this->object->generovaniFaktur();
42
        $this->object->dataReset();
43
        $this->object->generovaniFaktur();
44
    }
45
}
46