1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Test\FlexiPeeHP; |
4
|
|
|
|
5
|
|
|
use FlexiPeeHP\Stitek; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* Generated by PHPUnit_SkeletonGenerator on 2016-04-27 at 17:32:11. |
9
|
|
|
*/ |
10
|
|
|
class StitekTest extends FlexiBeeRWTest |
11
|
|
|
{ |
12
|
|
|
/** |
13
|
|
|
* @var Stitek |
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 Stitek; |
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\Stitek::getLabels |
37
|
|
|
* @todo Implement testGetLabels(). |
38
|
|
|
*/ |
39
|
|
|
public function testGetLabels() |
40
|
|
|
{ |
41
|
|
|
// Remove the following lines when you implement this test. |
42
|
|
|
$this->markTestIncomplete( |
43
|
|
|
'This test has not been implemented yet.' |
44
|
|
|
); |
45
|
|
|
} |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* @covers FlexiPeeHP\Stitek::listToArray |
49
|
|
|
* @todo Implement testListToArray(). |
50
|
|
|
*/ |
51
|
|
|
public function testListToArray() |
52
|
|
|
{ |
53
|
|
|
// Remove the following lines when you implement this test. |
54
|
|
|
$this->markTestIncomplete( |
55
|
|
|
'This test has not been implemented yet.' |
56
|
|
|
); |
57
|
|
|
} |
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* @covers FlexiPeeHP\Stitek::getAvailbleLabels |
61
|
|
|
*/ |
62
|
|
|
public function testGetAvailbleLabels() |
63
|
|
|
{ |
64
|
|
|
$labels = \FlexiPeeHP\Stitek::getAvailbleLabels(new \FlexiPeeHP\FakturaVydana()); |
65
|
|
|
$this->assertTrue(is_array($labels) && count($labels)); |
66
|
|
|
} |
67
|
|
|
|
68
|
|
|
/** |
69
|
|
|
* @covers FlexiPeeHP\Stitek::setLabel |
70
|
|
|
* @todo Implement testSetLabel(). |
71
|
|
|
*/ |
72
|
|
|
public function testSetLabel() |
73
|
|
|
{ |
74
|
|
|
// Remove the following lines when you implement this test. |
75
|
|
|
$this->markTestIncomplete( |
76
|
|
|
'This test has not been implemented yet.' |
77
|
|
|
); |
78
|
|
|
} |
79
|
|
|
|
80
|
|
|
/** |
81
|
|
|
* @covers FlexiPeeHP\Stitek::unsetLabel |
82
|
|
|
* @todo Implement testUnsetLabel(). |
83
|
|
|
*/ |
84
|
|
|
public function testUnsetLabel() |
85
|
|
|
{ |
86
|
|
|
// Remove the following lines when you implement this test. |
87
|
|
|
$this->markTestIncomplete( |
88
|
|
|
'This test has not been implemented yet.' |
89
|
|
|
); |
90
|
|
|
} |
91
|
|
|
} |
92
|
|
|
|