1 | <?php |
||
38 | class FlexiBeeTest extends \Test\Ease\BrickTest |
||
|
|||
39 | { |
||
40 | /** |
||
41 | * @var FlexiBee |
||
42 | */ |
||
43 | protected $object; |
||
44 | |||
45 | /** |
||
46 | * Sets up the fixture, for example, opens a network connection. |
||
47 | * This method is called before a test is executed. |
||
48 | * @covers FlexiPeeHP\FlexiBee::__construct |
||
49 | */ |
||
50 | protected function setUp() |
||
54 | |||
55 | /** |
||
56 | * Tears down the fixture, for example, closes a network connection. |
||
57 | * This method is called after a test is executed. |
||
58 | */ |
||
59 | protected function tearDown() |
||
63 | |||
64 | public function testCurlInit() |
||
69 | |||
70 | /** |
||
71 | * @covers FlexiPeeHP\FlexiBee::setAgenda |
||
72 | */ |
||
73 | public function testSetAgenda() |
||
78 | |||
79 | /** |
||
80 | * @covers FlexiPeeHP\FlexiBee::object2array |
||
81 | */ |
||
82 | public function testObject2array() |
||
92 | |||
93 | /** |
||
94 | * @covers FlexiPeeHP\FlexiBee::performRequest |
||
95 | */ |
||
96 | public function testPerformRequest() |
||
118 | |||
119 | /** |
||
120 | * @covers FlexiPeeHP\FlexiBee::getLastImportId |
||
121 | * @todo Implement testGetLastImportId(). |
||
122 | */ |
||
123 | public function testGetLastImportId() |
||
130 | |||
131 | /** |
||
132 | * @covers FlexiPeeHP\FlexiBee::xml2array |
||
133 | * @todo Implement testXml2array(). |
||
134 | */ |
||
135 | public function testXml2array() |
||
142 | |||
143 | /** |
||
144 | * @covers FlexiPeeHP\FlexiBee::disconnect |
||
145 | * @todo Implement testDisconnect(). |
||
146 | */ |
||
147 | public function testDisconnect() |
||
154 | |||
155 | /** |
||
156 | * @covers FlexiPeeHP\FlexiBee::__destruct |
||
157 | * @todo Implement test__destruct(). |
||
158 | */ |
||
159 | public function test__destruct() |
||
166 | |||
167 | /** |
||
168 | * @covers FlexiPeeHP\FlexiBee::loadFlexiData |
||
169 | * @todo Implement testLoadFlexiData(). |
||
170 | */ |
||
171 | public function testLoadFlexiData() |
||
178 | |||
179 | /** |
||
180 | * @covers FlexiPeeHP\FlexiBee::getFlexiRow |
||
181 | * @todo Implement testGetFlexiRow(). |
||
182 | */ |
||
183 | public function testGetFlexiRow() |
||
190 | |||
191 | /** |
||
192 | * @covers FlexiPeeHP\FlexiBee::getFlexiData |
||
193 | * @todo Implement testGetFlexiData(). |
||
194 | */ |
||
195 | public function testGetFlexiData() |
||
202 | |||
203 | /** |
||
204 | * @covers FlexiPeeHP\FlexiBee::loadFromFlexiBee |
||
205 | * @todo Implement testLoadFromFlexiBee(). |
||
206 | */ |
||
207 | public function testLoadFromFlexiBee() |
||
214 | |||
215 | /** |
||
216 | * @covers FlexiPeeHP\FlexiBee::saveToFlexiBee |
||
217 | * @todo Implement testSaveToFlexiBee(). |
||
218 | */ |
||
219 | public function testSaveToFlexiBee() |
||
226 | |||
227 | /** |
||
228 | * @covers FlexiPeeHP\FlexiBee::jsonizeData |
||
229 | */ |
||
230 | public function testJsonizeData() |
||
235 | |||
236 | /** |
||
237 | * @covers FlexiPeeHP\FlexiBee::insertToFlexiBee |
||
238 | * @todo Implement testInsertToFlexiBee(). |
||
239 | */ |
||
240 | public function testInsertToFlexiBee() |
||
247 | |||
248 | /** |
||
249 | * @covers FlexiPeeHP\FlexiBee::idExists |
||
250 | * @todo Implement testIdExists(). |
||
251 | */ |
||
252 | public function testIdExists() |
||
259 | |||
260 | /** |
||
261 | * @covers FlexiPeeHP\FlexiBee::recordExists |
||
262 | * @todo Implement testRecordExists(). |
||
263 | */ |
||
264 | public function testRecordExists() |
||
271 | |||
272 | /** |
||
273 | * @covers FlexiPeeHP\FlexiBee::getColumnsFromFlexibee |
||
274 | * @todo Implement testGetColumnsFromFlexibee(). |
||
275 | */ |
||
276 | public function testGetColumnsFromFlexibee() |
||
283 | |||
284 | /** |
||
285 | * @covers FlexiPeeHP\FlexiBee::getKod |
||
286 | * @todo Implement testGetKod(). |
||
287 | */ |
||
288 | public function testGetKod() |
||
295 | |||
296 | /** |
||
297 | * @covers FlexiPeeHP\FlexiBee::searchString |
||
298 | * @todo Implement testSearchString(). |
||
299 | */ |
||
300 | public function testSearchString() |
||
307 | |||
308 | /** |
||
309 | * @covers FlexiPeeHP\FlexiBee::logResult |
||
310 | * @todo Implement testLogResult(). |
||
311 | */ |
||
312 | public function testLogResult() |
||
319 | |||
320 | /** |
||
321 | * @covers FlexiPeeHP\FlexiBee::flexiUrl |
||
322 | */ |
||
323 | public function testFlexiUrl() |
||
330 | } |
Having each class in a dedicated file usually plays nice with PSR autoloaders and is therefore a well established practice. If you use other autoloaders, you might not want to follow this rule.