|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace AppBundle\Entity; |
|
4
|
|
|
|
|
5
|
|
|
/** |
|
6
|
|
|
* Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:38. |
|
7
|
|
|
*/ |
|
8
|
|
View Code Duplication |
class SubFamilyLogTest extends \PHPUnit_Framework_TestCase { |
|
|
|
|
|
|
9
|
|
|
|
|
10
|
|
|
/** |
|
11
|
|
|
* @var SubFamilyLog |
|
12
|
|
|
*/ |
|
13
|
|
|
protected $object; |
|
14
|
|
|
|
|
15
|
|
|
/** |
|
16
|
|
|
* Sets up the fixture, for example, opens a network connection. |
|
17
|
|
|
* This method is called before a test is executed. |
|
18
|
|
|
*/ |
|
19
|
|
|
protected function setUp() { |
|
20
|
|
|
$this->object = new SubFamilyLog; |
|
21
|
|
|
} |
|
22
|
|
|
|
|
23
|
|
|
/** |
|
24
|
|
|
* Tears down the fixture, for example, closes a network connection. |
|
25
|
|
|
* This method is called after a test is executed. |
|
26
|
|
|
*/ |
|
27
|
|
|
protected function tearDown() { |
|
28
|
|
|
|
|
29
|
|
|
} |
|
30
|
|
|
|
|
31
|
|
|
/** |
|
32
|
|
|
* @covers AppBundle\Entity\SubFamilyLog::getId |
|
33
|
|
|
* @todo Implement testGetId(). |
|
34
|
|
|
*/ |
|
35
|
|
|
public function testGetId() { |
|
36
|
|
|
// Remove the following lines when you implement this test. |
|
37
|
|
|
$this->markTestIncomplete( |
|
38
|
|
|
'This test has not been implemented yet.' |
|
39
|
|
|
); |
|
40
|
|
|
} |
|
41
|
|
|
|
|
42
|
|
|
/** |
|
43
|
|
|
* @covers AppBundle\Entity\SubFamilyLog::setName |
|
44
|
|
|
* @todo Implement testSetName(). |
|
45
|
|
|
*/ |
|
46
|
|
|
public function testSetName() { |
|
47
|
|
|
// Remove the following lines when you implement this test. |
|
48
|
|
|
$this->markTestIncomplete( |
|
49
|
|
|
'This test has not been implemented yet.' |
|
50
|
|
|
); |
|
51
|
|
|
} |
|
52
|
|
|
|
|
53
|
|
|
/** |
|
54
|
|
|
* @covers AppBundle\Entity\SubFamilyLog::getName |
|
55
|
|
|
* @todo Implement testGetName(). |
|
56
|
|
|
*/ |
|
57
|
|
|
public function testGetName() { |
|
58
|
|
|
// Remove the following lines when you implement this test. |
|
59
|
|
|
$this->markTestIncomplete( |
|
60
|
|
|
'This test has not been implemented yet.' |
|
61
|
|
|
); |
|
62
|
|
|
} |
|
63
|
|
|
|
|
64
|
|
|
/** |
|
65
|
|
|
* @covers AppBundle\Entity\SubFamilyLog::addFamilylog |
|
66
|
|
|
* @todo Implement testAddFamilylog(). |
|
67
|
|
|
*/ |
|
68
|
|
|
public function testAddFamilylog() { |
|
69
|
|
|
// Remove the following lines when you implement this test. |
|
70
|
|
|
$this->markTestIncomplete( |
|
71
|
|
|
'This test has not been implemented yet.' |
|
72
|
|
|
); |
|
73
|
|
|
} |
|
74
|
|
|
|
|
75
|
|
|
/** |
|
76
|
|
|
* @covers AppBundle\Entity\SubFamilyLog::removeFamilylog |
|
77
|
|
|
* @todo Implement testRemoveFamilylog(). |
|
78
|
|
|
*/ |
|
79
|
|
|
public function testRemoveFamilylog() { |
|
80
|
|
|
// Remove the following lines when you implement this test. |
|
81
|
|
|
$this->markTestIncomplete( |
|
82
|
|
|
'This test has not been implemented yet.' |
|
83
|
|
|
); |
|
84
|
|
|
} |
|
85
|
|
|
|
|
86
|
|
|
/** |
|
87
|
|
|
* @covers AppBundle\Entity\SubFamilyLog::getFamilylogs |
|
88
|
|
|
* @todo Implement testGetFamilylogs(). |
|
89
|
|
|
*/ |
|
90
|
|
|
public function testGetFamilylogs() { |
|
91
|
|
|
// Remove the following lines when you implement this test. |
|
92
|
|
|
$this->markTestIncomplete( |
|
93
|
|
|
'This test has not been implemented yet.' |
|
94
|
|
|
); |
|
95
|
|
|
} |
|
96
|
|
|
|
|
97
|
|
|
/** |
|
98
|
|
|
* @covers AppBundle\Entity\SubFamilyLog::setFamilylog |
|
99
|
|
|
* @todo Implement testSetFamilylog(). |
|
100
|
|
|
*/ |
|
101
|
|
|
public function testSetFamilylog() { |
|
102
|
|
|
// Remove the following lines when you implement this test. |
|
103
|
|
|
$this->markTestIncomplete( |
|
104
|
|
|
'This test has not been implemented yet.' |
|
105
|
|
|
); |
|
106
|
|
|
} |
|
107
|
|
|
|
|
108
|
|
|
/** |
|
109
|
|
|
* @covers AppBundle\Entity\SubFamilyLog::getFamilylog |
|
110
|
|
|
* @todo Implement testGetFamilylog(). |
|
111
|
|
|
*/ |
|
112
|
|
|
public function testGetFamilylog() { |
|
113
|
|
|
// Remove the following lines when you implement this test. |
|
114
|
|
|
$this->markTestIncomplete( |
|
115
|
|
|
'This test has not been implemented yet.' |
|
116
|
|
|
); |
|
117
|
|
|
} |
|
118
|
|
|
|
|
119
|
|
|
/** |
|
120
|
|
|
* @covers AppBundle\Entity\SubFamilyLog::jsonSerialize |
|
121
|
|
|
* @todo Implement testJsonSerialize(). |
|
122
|
|
|
*/ |
|
123
|
|
|
public function testJsonSerialize() { |
|
124
|
|
|
// Remove the following lines when you implement this test. |
|
125
|
|
|
$this->markTestIncomplete( |
|
126
|
|
|
'This test has not been implemented yet.' |
|
127
|
|
|
); |
|
128
|
|
|
} |
|
129
|
|
|
|
|
130
|
|
|
/** |
|
131
|
|
|
* @covers AppBundle\Entity\SubFamilyLog::__toString |
|
132
|
|
|
* @todo Implement test__toString(). |
|
133
|
|
|
*/ |
|
134
|
|
|
public function test__toString() { |
|
135
|
|
|
// Remove the following lines when you implement this test. |
|
136
|
|
|
$this->markTestIncomplete( |
|
137
|
|
|
'This test has not been implemented yet.' |
|
138
|
|
|
); |
|
139
|
|
|
} |
|
140
|
|
|
|
|
141
|
|
|
} |
|
142
|
|
|
|
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.