Completed
Push — master ( 376ce2...d23e95 )
by Laurent
04:08
created

ArticleTest   A

Complexity

Total Complexity 29

Size/Duplication

Total Lines 322
Duplicated Lines 0 %

Coupling/Cohesion

Components 2
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 29
c 1
b 0
f 0
lcom 2
cbo 2
dl 0
loc 322
rs 10

29 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 3 1
A tearDown() 0 3 1
A testGetId() 0 6 1
A testSetName() 0 6 1
A testGetName() 0 6 1
A testSetPackaging() 0 6 1
A testGetPackaging() 0 6 1
A testSetPrice() 0 6 1
A testGetPrice() 0 6 1
A testSetQuantity() 0 6 1
A testGetQuantity() 0 6 1
A testSetMinstock() 0 6 1
A testGetMinstock() 0 6 1
A testSetSupplier() 0 6 1
A testGetSupplier() 0 6 1
A testSetUnitStorage() 0 6 1
A testGetUnitStorage() 0 6 1
A testAddZoneStorage() 0 6 1
A testRemoveZoneStorage() 0 6 1
A testGetZoneStorages() 0 6 1
A testSetFamilyLog() 0 6 1
A testGetFamilyLog() 0 6 1
A testSetSubFamilyLog() 0 6 1
A testGetSubFamilyLog() 0 6 1
A testSetActive() 0 6 1
A testIsActive() 0 6 1
A testSetSlug() 0 6 1
A testGetSlug() 0 6 1
A test__toString() 0 6 1
1
<?php
2
3
namespace AppBundle\Tests\Entity;
4
5
use AppBundle\Entity\Article;
6
7
/**
8
 * Generated by PHPUnit_SkeletonGenerator on 2016-02-15 at 17:17:26.
9
 */
10
class ArticleTest extends \PHPUnit_Framework_TestCase
11
{
12
13
    /**
14
     * @var Article
15
     */
16
    protected $object;
17
18
    /**
19
     * Sets up the fixture, for example, opens a network connection.
20
     * This method is called before a test is executed.
21
     */
22
    protected function setUp() {
23
        $this->object = new Article;
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
     * @covers AppBundle\Entity\Article::getId
36
     * @todo   Implement testGetId().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
37
     */
38
    public function testGetId() {
39
        // Remove the following lines when you implement this test.
40
        $this->markTestIncomplete(
41
            'This test has not been implemented yet.'
42
        );
43
    }
44
45
    /**
46
     * @covers AppBundle\Entity\Article::setName
47
     * @todo   Implement testSetName().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
48
     */
49
    public function testSetName() {
50
        // Remove the following lines when you implement this test.
51
        $this->markTestIncomplete(
52
            'This test has not been implemented yet.'
53
        );
54
    }
55
56
    /**
57
     * @covers AppBundle\Entity\Article::getName
58
     * @todo   Implement testGetName().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
59
     */
60
    public function testGetName() {
61
        // Remove the following lines when you implement this test.
62
        $this->markTestIncomplete(
63
            'This test has not been implemented yet.'
64
        );
65
    }
66
67
    /**
68
     * @covers AppBundle\Entity\Article::setPackaging
69
     * @todo   Implement testSetPackaging().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
70
     */
71
    public function testSetPackaging() {
72
        // Remove the following lines when you implement this test.
73
        $this->markTestIncomplete(
74
            'This test has not been implemented yet.'
75
        );
76
    }
77
78
    /**
79
     * @covers AppBundle\Entity\Article::getPackaging
80
     * @todo   Implement testGetPackaging().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
81
     */
82
    public function testGetPackaging() {
83
        // Remove the following lines when you implement this test.
84
        $this->markTestIncomplete(
85
            'This test has not been implemented yet.'
86
        );
87
    }
88
89
    /**
90
     * @covers AppBundle\Entity\Article::setPrice
91
     * @todo   Implement testSetPrice().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
92
     */
93
    public function testSetPrice() {
94
        // Remove the following lines when you implement this test.
95
        $this->markTestIncomplete(
96
            'This test has not been implemented yet.'
97
        );
98
    }
99
100
    /**
101
     * @covers AppBundle\Entity\Article::getPrice
102
     * @todo   Implement testGetPrice().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
103
     */
104
    public function testGetPrice() {
105
        // Remove the following lines when you implement this test.
106
        $this->markTestIncomplete(
107
            'This test has not been implemented yet.'
108
        );
109
    }
110
111
    /**
112
     * @covers AppBundle\Entity\Article::setQuantity
113
     * @todo   Implement testSetQuantity().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
114
     */
115
    public function testSetQuantity() {
116
        // Remove the following lines when you implement this test.
117
        $this->markTestIncomplete(
118
            'This test has not been implemented yet.'
119
        );
120
    }
121
122
    /**
123
     * @covers AppBundle\Entity\Article::getQuantity
124
     * @todo   Implement testGetQuantity().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
125
     */
126
    public function testGetQuantity() {
127
        // Remove the following lines when you implement this test.
128
        $this->markTestIncomplete(
129
            'This test has not been implemented yet.'
130
        );
131
    }
132
133
    /**
134
     * @covers AppBundle\Entity\Article::setMinstock
135
     * @todo   Implement testSetMinstock().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
136
     */
137
    public function testSetMinstock() {
138
        // Remove the following lines when you implement this test.
139
        $this->markTestIncomplete(
140
            'This test has not been implemented yet.'
141
        );
142
    }
143
144
    /**
145
     * @covers AppBundle\Entity\Article::getMinstock
146
     * @todo   Implement testGetMinstock().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
147
     */
148
    public function testGetMinstock() {
149
        // Remove the following lines when you implement this test.
150
        $this->markTestIncomplete(
151
            'This test has not been implemented yet.'
152
        );
153
    }
154
155
    /**
156
     * @covers AppBundle\Entity\Article::setSupplier
157
     * @todo   Implement testSetSupplier().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
158
     */
159
    public function testSetSupplier() {
160
        // Remove the following lines when you implement this test.
161
        $this->markTestIncomplete(
162
            'This test has not been implemented yet.'
163
        );
164
    }
165
166
    /**
167
     * @covers AppBundle\Entity\Article::getSupplier
168
     * @todo   Implement testGetSupplier().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
169
     */
170
    public function testGetSupplier() {
171
        // Remove the following lines when you implement this test.
172
        $this->markTestIncomplete(
173
            'This test has not been implemented yet.'
174
        );
175
    }
176
177
    /**
178
     * @covers AppBundle\Entity\Article::setUnitStorage
179
     * @todo   Implement testSetUnitStorage().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
180
     */
181
    public function testSetUnitStorage() {
182
        // Remove the following lines when you implement this test.
183
        $this->markTestIncomplete(
184
            'This test has not been implemented yet.'
185
        );
186
    }
187
188
    /**
189
     * @covers AppBundle\Entity\Article::getUnitStorage
190
     * @todo   Implement testGetUnitStorage().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
191
     */
192
    public function testGetUnitStorage() {
193
        // Remove the following lines when you implement this test.
194
        $this->markTestIncomplete(
195
            'This test has not been implemented yet.'
196
        );
197
    }
198
199
    /**
200
     * @covers AppBundle\Entity\Article::addZoneStorage
201
     * @todo   Implement testAddZoneStorage().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
202
     */
203
    public function testAddZoneStorage() {
204
        // Remove the following lines when you implement this test.
205
        $this->markTestIncomplete(
206
            'This test has not been implemented yet.'
207
        );
208
    }
209
210
    /**
211
     * @covers AppBundle\Entity\Article::removeZoneStorage
212
     * @todo   Implement testRemoveZoneStorage().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
213
     */
214
    public function testRemoveZoneStorage() {
215
        // Remove the following lines when you implement this test.
216
        $this->markTestIncomplete(
217
            'This test has not been implemented yet.'
218
        );
219
    }
220
221
    /**
222
     * @covers AppBundle\Entity\Article::getZoneStorages
223
     * @todo   Implement testGetZoneStorages().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
224
     */
225
    public function testGetZoneStorages() {
226
        // Remove the following lines when you implement this test.
227
        $this->markTestIncomplete(
228
            'This test has not been implemented yet.'
229
        );
230
    }
231
232
    /**
233
     * @covers AppBundle\Entity\Article::setFamilyLog
234
     * @todo   Implement testSetFamilyLog().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
235
     */
236
    public function testSetFamilyLog() {
237
        // Remove the following lines when you implement this test.
238
        $this->markTestIncomplete(
239
            'This test has not been implemented yet.'
240
        );
241
    }
242
243
    /**
244
     * @covers AppBundle\Entity\Article::getFamilyLog
245
     * @todo   Implement testGetFamilyLog().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
246
     */
247
    public function testGetFamilyLog() {
248
        // Remove the following lines when you implement this test.
249
        $this->markTestIncomplete(
250
            'This test has not been implemented yet.'
251
        );
252
    }
253
254
    /**
255
     * @covers AppBundle\Entity\Article::setSubFamilyLog
256
     * @todo   Implement testSetSubFamilyLog().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
257
     */
258
    public function testSetSubFamilyLog() {
259
        // Remove the following lines when you implement this test.
260
        $this->markTestIncomplete(
261
            'This test has not been implemented yet.'
262
        );
263
    }
264
265
    /**
266
     * @covers AppBundle\Entity\Article::getSubFamilyLog
267
     * @todo   Implement testGetSubFamilyLog().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
268
     */
269
    public function testGetSubFamilyLog() {
270
        // Remove the following lines when you implement this test.
271
        $this->markTestIncomplete(
272
            'This test has not been implemented yet.'
273
        );
274
    }
275
276
    /**
277
     * @covers AppBundle\Entity\Article::setActive
278
     * @todo   Implement testSetActive().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
279
     */
280
    public function testSetActive() {
281
        // Remove the following lines when you implement this test.
282
        $this->markTestIncomplete(
283
            'This test has not been implemented yet.'
284
        );
285
    }
286
287
    /**
288
     * @covers AppBundle\Entity\Article::isActive
289
     * @todo   Implement testIsActive().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
290
     */
291
    public function testIsActive() {
292
        // Remove the following lines when you implement this test.
293
        $this->markTestIncomplete(
294
            'This test has not been implemented yet.'
295
        );
296
    }
297
298
    /**
299
     * @covers AppBundle\Entity\Article::setSlug
300
     * @todo   Implement testSetSlug().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
301
     */
302
    public function testSetSlug() {
303
        // Remove the following lines when you implement this test.
304
        $this->markTestIncomplete(
305
            'This test has not been implemented yet.'
306
        );
307
    }
308
309
    /**
310
     * @covers AppBundle\Entity\Article::getSlug
311
     * @todo   Implement testGetSlug().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
312
     */
313
    public function testGetSlug() {
314
        // Remove the following lines when you implement this test.
315
        $this->markTestIncomplete(
316
            'This test has not been implemented yet.'
317
        );
318
    }
319
320
    /**
321
     * @covers AppBundle\Entity\Article::__toString
322
     * @todo   Implement test__toString().
0 ignored issues
show
Coding Style introduced by
Comment refers to a TODO task

This check looks TODO comments that have been left in the code.

``TODO``s show that something is left unfinished and should be attended to.

Loading history...
323
     */
324
    public function test__toString() {
0 ignored issues
show
Coding Style introduced by
function test__toString() does not seem to conform to the naming convention (^(?:[a-z]|__)[a-zA-Z0-9]*$).

This check examines a number of code elements and verifies that they conform to the given naming conventions.

You can set conventions for local variables, abstract classes, utility classes, constant, properties, methods, parameters, interfaces, classes, exceptions and special methods.

Loading history...
Coding Style introduced by
This method is not in camel caps format.

This check looks for method names that are not written in camelCase.

In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection seeker becomes databaseConnectionSeeker.

Loading history...
325
        // Remove the following lines when you implement this test.
326
        $this->markTestIncomplete(
327
            'This test has not been implemented yet.'
328
        );
329
    }
330
331
}
332