Total Complexity | 320 |
Total Lines | 1619 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
Complex classes like EntityTest often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use EntityTest, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
14 | class EntityTest extends TestCase |
||
15 | { |
||
16 | |||
17 | public function testAbsenceRegistrationEntity() |
||
18 | { |
||
19 | $this->performEntityTest(\Picqer\Financials\Exact\AbsenceRegistration::class); |
||
20 | } |
||
21 | |||
22 | public function testAbsenceRegistrationTransactionEntity() |
||
23 | { |
||
24 | $this->performEntityTest(\Picqer\Financials\Exact\AbsenceRegistrationTransaction::class); |
||
25 | } |
||
26 | |||
27 | public function testAcceptQuotationEntity() |
||
28 | { |
||
29 | $this->performEntityTest(\Picqer\Financials\Exact\AcceptQuotation::class); |
||
30 | } |
||
31 | |||
32 | public function testAccountantInfoEntity() |
||
33 | { |
||
34 | $this->performEntityTest(\Picqer\Financials\Exact\AccountantInfo::class); |
||
35 | } |
||
36 | |||
37 | public function testAccountClassificationNameEntity() |
||
38 | { |
||
39 | $this->performEntityTest(\Picqer\Financials\Exact\AccountClassificationName::class); |
||
40 | } |
||
41 | |||
42 | public function testAccountClassificationEntity() |
||
43 | { |
||
44 | $this->performEntityTest(\Picqer\Financials\Exact\AccountClassification::class); |
||
45 | } |
||
46 | |||
47 | public function testAccountClassEntity() |
||
48 | { |
||
49 | $this->performEntityTest(\Picqer\Financials\Exact\AccountClass::class); |
||
50 | } |
||
51 | |||
52 | public function testAccountDocumentCountEntity() |
||
53 | { |
||
54 | $this->performEntityTest(\Picqer\Financials\Exact\AccountDocumentCount::class); |
||
55 | } |
||
56 | |||
57 | public function testAccountDocumentFolderEntity() |
||
58 | { |
||
59 | $this->performEntityTest(\Picqer\Financials\Exact\AccountDocumentFolder::class); |
||
60 | } |
||
61 | |||
62 | public function testAccountDocumentEntity() |
||
63 | { |
||
64 | $this->performEntityTest(\Picqer\Financials\Exact\AccountDocument::class); |
||
65 | } |
||
66 | |||
67 | public function testAccountInvolvedAccountEntity() |
||
68 | { |
||
69 | $this->performEntityTest(\Picqer\Financials\Exact\AccountInvolvedAccount::class); |
||
70 | } |
||
71 | |||
72 | public function testAccountItemEntity() |
||
73 | { |
||
74 | $this->performEntityTest(\Picqer\Financials\Exact\AccountItem::class); |
||
75 | } |
||
76 | |||
77 | public function testAccountOwnerEntity() |
||
78 | { |
||
79 | $this->performEntityTest(\Picqer\Financials\Exact\AccountOwner::class); |
||
80 | } |
||
81 | |||
82 | public function testAccountEntity() |
||
83 | { |
||
84 | $this->performEntityTest(\Picqer\Financials\Exact\Account::class); |
||
85 | } |
||
86 | |||
87 | public function testActiveEmploymentEntity() |
||
88 | { |
||
89 | $this->performEntityTest(\Picqer\Financials\Exact\ActiveEmployment::class); |
||
90 | } |
||
91 | |||
92 | public function testAddressEntity() |
||
93 | { |
||
94 | $this->performEntityTest(\Picqer\Financials\Exact\Address::class); |
||
95 | } |
||
96 | |||
97 | public function testAddressStateEntity() |
||
98 | { |
||
99 | $this->performEntityTest(\Picqer\Financials\Exact\AddressState::class); |
||
100 | } |
||
101 | |||
102 | public function testAfterEntryEntity() |
||
103 | { |
||
104 | $this->performEntityTest(\Picqer\Financials\Exact\AfterEntry::class); |
||
105 | } |
||
106 | |||
107 | public function testAgingOverviewByAccountEntity() |
||
108 | { |
||
109 | $this->performEntityTest(\Picqer\Financials\Exact\AgingOverviewByAccount::class); |
||
110 | } |
||
111 | |||
112 | public function testAgingOverviewEntity() |
||
113 | { |
||
114 | $this->performEntityTest(\Picqer\Financials\Exact\AgingOverview::class); |
||
115 | } |
||
116 | |||
117 | public function testAgingPayablesListByAgeGroupEntity() |
||
118 | { |
||
119 | $this->performEntityTest(\Picqer\Financials\Exact\AgingPayablesListByAgeGroup::class); |
||
120 | } |
||
121 | |||
122 | public function testAgingPayablesListEntity() |
||
123 | { |
||
124 | $this->performEntityTest(\Picqer\Financials\Exact\AgingPayablesList::class); |
||
125 | } |
||
126 | |||
127 | public function testAgingReceivablesListByAgeGroupEntity() |
||
128 | { |
||
129 | $this->performEntityTest(\Picqer\Financials\Exact\AgingReceivablesListByAgeGroup::class); |
||
130 | } |
||
131 | |||
132 | public function testAgingReceivablesListEntity() |
||
133 | { |
||
134 | $this->performEntityTest(\Picqer\Financials\Exact\AgingReceivablesList::class); |
||
135 | } |
||
136 | |||
137 | public function testAssemblyOrderEntity() |
||
138 | { |
||
139 | $this->performEntityTest(\Picqer\Financials\Exact\AssemblyOrder::class); |
||
140 | } |
||
141 | |||
142 | public function testAssetGroupEntity() |
||
143 | { |
||
144 | $this->performEntityTest(\Picqer\Financials\Exact\AssetGroup::class); |
||
145 | } |
||
146 | |||
147 | public function testAssetEntity() |
||
148 | { |
||
149 | $this->performEntityTest(\Picqer\Financials\Exact\Asset::class); |
||
150 | } |
||
151 | |||
152 | public function testAvailableFeatureEntity() |
||
153 | { |
||
154 | $this->performEntityTest(\Picqer\Financials\Exact\AvailableFeature::class); |
||
155 | } |
||
156 | |||
157 | public function testBankAccountEntity() |
||
158 | { |
||
159 | $this->performEntityTest(\Picqer\Financials\Exact\BankAccount::class); |
||
160 | } |
||
161 | |||
162 | public function testBankEntryLineEntity() |
||
163 | { |
||
164 | $this->performEntityTest(\Picqer\Financials\Exact\BankEntryLine::class); |
||
165 | } |
||
166 | |||
167 | public function testBankEntryEntity() |
||
168 | { |
||
169 | $this->performEntityTest(\Picqer\Financials\Exact\BankEntry::class); |
||
170 | } |
||
171 | |||
172 | public function testBankEntity() |
||
173 | { |
||
174 | $this->performEntityTest(\Picqer\Financials\Exact\Bank::class); |
||
175 | } |
||
176 | |||
177 | public function testBatchNumberEntity() |
||
178 | { |
||
179 | $this->performEntityTest(\Picqer\Financials\Exact\BatchNumber::class); |
||
180 | } |
||
181 | |||
182 | public function testBillOfMaterialMaterialEntity() |
||
183 | { |
||
184 | $this->performEntityTest(\Picqer\Financials\Exact\BillOfMaterialMaterial::class); |
||
185 | } |
||
186 | |||
187 | public function testBillOfMaterialMaterialsEntity() |
||
188 | { |
||
189 | $this->performEntityTest(\Picqer\Financials\Exact\BillOfMaterialMaterials::class); |
||
190 | } |
||
191 | |||
192 | public function testBillOfMaterialVersionEntity() |
||
193 | { |
||
194 | $this->performEntityTest(\Picqer\Financials\Exact\BillOfMaterialVersion::class); |
||
195 | } |
||
196 | |||
197 | public function testBillOfMaterialVersionsEntity() |
||
198 | { |
||
199 | $this->performEntityTest(\Picqer\Financials\Exact\BillOfMaterialVersions::class); |
||
200 | } |
||
201 | |||
202 | public function testBudgetEntity() |
||
203 | { |
||
204 | $this->performEntityTest(\Picqer\Financials\Exact\Budget::class); |
||
205 | } |
||
206 | |||
207 | public function testBudgetScenarioEntity() |
||
208 | { |
||
209 | $this->performEntityTest(\Picqer\Financials\Exact\BudgetScenario::class); |
||
210 | } |
||
211 | |||
212 | public function testBulkAccountEntity() |
||
213 | { |
||
214 | $this->performEntityTest(\Picqer\Financials\Exact\BulkAccount::class); |
||
215 | } |
||
216 | |||
217 | public function testBulkAddressEntity() |
||
218 | { |
||
219 | $this->performEntityTest(\Picqer\Financials\Exact\BulkAddress::class); |
||
220 | } |
||
221 | |||
222 | public function testBulkContactEntity() |
||
223 | { |
||
224 | $this->performEntityTest(\Picqer\Financials\Exact\BulkContact::class); |
||
225 | } |
||
226 | |||
227 | public function testBulkDocumentAttachmentEntity() |
||
228 | { |
||
229 | $this->performEntityTest(\Picqer\Financials\Exact\DocumentAttachment::class); |
||
230 | $documentAttachment = new \Picqer\Financials\Exact\DocumentAttachment(new Connection()); |
||
231 | $documentAttachment->Url = 'http://www.example.org/index.html?id=123'; |
||
232 | |||
233 | $this->assertSame('http://www.example.org/index.html?id=123&Download=1', $documentAttachment->getDownloadUrl()); |
||
234 | } |
||
235 | |||
236 | public function testBulkDocumentEntity() |
||
237 | { |
||
238 | $this->performEntityTest(\Picqer\Financials\Exact\BulkDocument::class); |
||
239 | } |
||
240 | |||
241 | public function testBulkGLAccountEntity() |
||
242 | { |
||
243 | $this->performEntityTest(\Picqer\Financials\Exact\BulkGLAccount::class); |
||
244 | } |
||
245 | |||
246 | public function testBulkGLClassificationEntity() |
||
247 | { |
||
248 | $this->performEntityTest(\Picqer\Financials\Exact\BulkGLClassification::class); |
||
249 | } |
||
250 | |||
251 | public function testBulkGoodsDeliveryLineEntity() |
||
252 | { |
||
253 | $this->performEntityTest(\Picqer\Financials\Exact\BulkGoodsDeliveryLine::class); |
||
254 | } |
||
255 | |||
256 | public function testBulkGoodsDeliveryEntity() |
||
257 | { |
||
258 | $this->performEntityTest(\Picqer\Financials\Exact\BulkGoodsDelivery::class); |
||
259 | } |
||
260 | |||
261 | public function testBulkItemEntity() |
||
262 | { |
||
263 | $this->performEntityTest(\Picqer\Financials\Exact\BulkItem::class); |
||
264 | } |
||
265 | |||
266 | public function testBulkPaymentEntity() |
||
267 | { |
||
268 | $this->performEntityTest(\Picqer\Financials\Exact\BulkPayment::class); |
||
269 | } |
||
270 | |||
271 | public function testBulkQuotationLineEntity() |
||
272 | { |
||
273 | $this->performEntityTest(\Picqer\Financials\Exact\BulkQuotationLine::class); |
||
274 | } |
||
275 | |||
276 | public function testBulkQuotationEntity() |
||
277 | { |
||
278 | $this->performEntityTest(\Picqer\Financials\Exact\BulkQuotation::class); |
||
279 | } |
||
280 | |||
281 | public function testBulkReceivableEntity() |
||
282 | { |
||
283 | $this->performEntityTest(\Picqer\Financials\Exact\BulkReceivable::class); |
||
284 | } |
||
285 | |||
286 | public function testBulkSalesInvoiceLineEntity() |
||
287 | { |
||
288 | $this->performEntityTest(\Picqer\Financials\Exact\BulkSalesInvoiceLine::class); |
||
289 | } |
||
290 | |||
291 | public function testBulkSalesInvoiceEntity() |
||
292 | { |
||
293 | $this->performEntityTest(\Picqer\Financials\Exact\BulkSalesInvoice::class); |
||
294 | } |
||
295 | |||
296 | public function testBulkSalesItemPriceEntity() |
||
297 | { |
||
298 | $this->performEntityTest(\Picqer\Financials\Exact\BulkSalesItemPrice::class); |
||
299 | } |
||
300 | |||
301 | public function testBulkSalesOrderLineEntity() |
||
302 | { |
||
303 | $this->performEntityTest(\Picqer\Financials\Exact\BulkSalesOrderLine::class); |
||
304 | } |
||
305 | |||
306 | public function testBulkSalesOrderEntity() |
||
307 | { |
||
308 | $this->performEntityTest(\Picqer\Financials\Exact\BulkSalesOrder::class); |
||
309 | } |
||
310 | |||
311 | public function testBulkTransactionLineEntity() |
||
312 | { |
||
313 | $this->performEntityTest(\Picqer\Financials\Exact\BulkTransactionLine::class); |
||
314 | } |
||
315 | |||
316 | public function testByProductReceiptEntity() |
||
317 | { |
||
318 | $this->performEntityTest(\Picqer\Financials\Exact\ByProductReceipt::class); |
||
319 | } |
||
320 | |||
321 | public function testByProductReversalEntity() |
||
322 | { |
||
323 | $this->performEntityTest(\Picqer\Financials\Exact\ByProductReversal::class); |
||
324 | } |
||
325 | |||
326 | public function testCashEntryLineEntity() |
||
327 | { |
||
328 | $this->performEntityTest(\Picqer\Financials\Exact\CashEntryLine::class); |
||
329 | } |
||
330 | |||
331 | public function testCashEntryEntity() |
||
332 | { |
||
333 | $this->performEntityTest(\Picqer\Financials\Exact\CashEntry::class); |
||
334 | } |
||
335 | |||
336 | public function testCommunicationNoteEntity() |
||
337 | { |
||
338 | $this->performEntityTest(\Picqer\Financials\Exact\CommunicationNote::class); |
||
339 | } |
||
340 | |||
341 | public function testComplaintEntity() |
||
342 | { |
||
343 | $this->performEntityTest(\Picqer\Financials\Exact\Complaint::class); |
||
344 | } |
||
345 | |||
346 | public function testContactEntity() |
||
347 | { |
||
348 | $this->performEntityTest(\Picqer\Financials\Exact\Contact::class); |
||
349 | } |
||
350 | |||
351 | public function testCostcenterEntity() |
||
352 | { |
||
353 | $this->performEntityTest(\Picqer\Financials\Exact\Costcenter::class); |
||
354 | } |
||
355 | |||
356 | public function testCostEntryExpensesByProjectEntity() |
||
357 | { |
||
358 | $this->performEntityTest(\Picqer\Financials\Exact\CostEntryExpensesByProject::class); |
||
359 | } |
||
360 | |||
361 | public function testCostEntryRecentAccountEntity() |
||
362 | { |
||
363 | $this->performEntityTest(\Picqer\Financials\Exact\CostEntryRecentAccount::class); |
||
364 | } |
||
365 | |||
366 | public function testCostEntryRecentAccountsByProjectEntity() |
||
367 | { |
||
368 | $this->performEntityTest(\Picqer\Financials\Exact\CostEntryRecentAccountsByProject::class); |
||
369 | } |
||
370 | |||
371 | public function testCostEntryRecentCostTypeEntity() |
||
372 | { |
||
373 | $this->performEntityTest(\Picqer\Financials\Exact\CostEntryRecentCostType::class); |
||
374 | } |
||
375 | |||
376 | public function testCostEntryRecentCostTypesByProjectEntity() |
||
377 | { |
||
378 | $this->performEntityTest(\Picqer\Financials\Exact\CostEntryRecentCostTypesByProject::class); |
||
379 | } |
||
380 | |||
381 | public function testCostEntryRecentExpensesByProjectEntity() |
||
382 | { |
||
383 | $this->performEntityTest(\Picqer\Financials\Exact\CostEntryRecentExpensesByProject::class); |
||
384 | } |
||
385 | |||
386 | public function testCostEntryRecentProjectEntity() |
||
387 | { |
||
388 | $this->performEntityTest(\Picqer\Financials\Exact\CostEntryRecentProject::class); |
||
389 | } |
||
390 | |||
391 | public function testCostsByDateEntity() |
||
392 | { |
||
393 | $this->performEntityTest(\Picqer\Financials\Exact\CostsByDate::class); |
||
394 | } |
||
395 | |||
396 | public function testCostsByIdEntity() |
||
397 | { |
||
398 | $this->performEntityTest(\Picqer\Financials\Exact\CostsById::class); |
||
399 | } |
||
400 | |||
401 | public function testCostTransactionEntity() |
||
402 | { |
||
403 | $this->performEntityTest(\Picqer\Financials\Exact\CostTransaction::class); |
||
404 | } |
||
405 | |||
406 | public function testCostTypeEntity() |
||
407 | { |
||
408 | $this->performEntityTest(\Picqer\Financials\Exact\CostType::class); |
||
409 | } |
||
410 | |||
411 | public function testCostTypesByDateEntity() |
||
412 | { |
||
413 | $this->performEntityTest(\Picqer\Financials\Exact\CostTypesByDate::class); |
||
414 | } |
||
415 | |||
416 | public function testCostTypesByProjectAndDateEntity() |
||
417 | { |
||
418 | $this->performEntityTest(\Picqer\Financials\Exact\CostTypesByProjectAndDate::class); |
||
419 | } |
||
420 | |||
421 | public function testCostunitEntity() |
||
422 | { |
||
423 | $this->performEntityTest(\Picqer\Financials\Exact\Costunit::class); |
||
424 | } |
||
425 | |||
426 | public function testCurrencyEntity() |
||
427 | { |
||
428 | $this->performEntityTest(\Picqer\Financials\Exact\Currency::class); |
||
429 | } |
||
430 | |||
431 | public function testDefaultAddressForAccountEntity() |
||
432 | { |
||
433 | $this->performEntityTest(\Picqer\Financials\Exact\DefaultAddressForAccount::class); |
||
434 | } |
||
435 | |||
436 | public function testDefaultMailboxEntity() |
||
439 | } |
||
440 | |||
441 | public function testDepartmentEntity() |
||
442 | { |
||
443 | $this->performEntityTest(\Picqer\Financials\Exact\Department::class); |
||
444 | } |
||
445 | |||
446 | public function testDepreciationMethodEntity() |
||
447 | { |
||
448 | $this->performEntityTest(\Picqer\Financials\Exact\DepreciationMethod::class); |
||
449 | } |
||
450 | |||
451 | public function testDirectDebitMandateEntity() |
||
452 | { |
||
453 | $this->performEntityTest(\Picqer\Financials\Exact\DirectDebitMandate::class); |
||
454 | } |
||
455 | |||
456 | public function testDivisionClasseEntity() |
||
457 | { |
||
458 | $this->performEntityTest(\Picqer\Financials\Exact\DivisionClasse::class); |
||
459 | } |
||
460 | |||
461 | public function testDivisionClassNameEntity() |
||
464 | } |
||
465 | |||
466 | public function testDivisionClassEntity() |
||
467 | { |
||
468 | $this->performEntityTest(\Picqer\Financials\Exact\DivisionClass::class); |
||
469 | } |
||
470 | |||
471 | public function testDivisionClassValueEntity() |
||
472 | { |
||
473 | $this->performEntityTest(\Picqer\Financials\Exact\DivisionClassValue::class); |
||
474 | } |
||
475 | |||
476 | public function testDivisionEntity() |
||
477 | { |
||
478 | $this->performEntityTest(\Picqer\Financials\Exact\Division::class); |
||
479 | } |
||
480 | |||
481 | public function testDocumentAttachmentEntity() |
||
482 | { |
||
483 | $this->performEntityTest(\Picqer\Financials\Exact\DocumentAttachment::class); |
||
484 | $documentAttachment = new \Picqer\Financials\Exact\DocumentAttachment(new Connection()); |
||
485 | $documentAttachment->Url = 'http://www.example.org/index.html?id=123'; |
||
486 | |||
487 | $this->assertSame('http://www.example.org/index.html?id=123&Download=1', $documentAttachment->getDownloadUrl()); |
||
488 | } |
||
489 | |||
490 | public function testDocumentCategorieEntity() |
||
491 | { |
||
492 | $this->performEntityTest(\Picqer\Financials\Exact\DocumentCategorie::class); |
||
493 | } |
||
494 | |||
495 | public function testDocumentCategoryEntity() |
||
496 | { |
||
497 | $this->performEntityTest(\Picqer\Financials\Exact\DocumentCategory::class); |
||
498 | } |
||
499 | |||
500 | public function testDocumentFolderEntity() |
||
501 | { |
||
502 | $this->performEntityTest(\Picqer\Financials\Exact\DocumentFolder::class); |
||
503 | } |
||
504 | |||
505 | public function testDocumentEntity() |
||
506 | { |
||
507 | $this->performEntityTest(\Picqer\Financials\Exact\Document::class); |
||
508 | } |
||
509 | |||
510 | public function testDocumentsAttachmentEntity() |
||
511 | { |
||
512 | $this->performEntityTest(\Picqer\Financials\Exact\DocumentsAttachment::class); |
||
513 | } |
||
514 | |||
515 | public function testDocumentTypeCategoryEntity() |
||
516 | { |
||
517 | $this->performEntityTest(\Picqer\Financials\Exact\DocumentTypeCategory::class); |
||
518 | } |
||
519 | |||
520 | public function testDocumentTypeFolderEntity() |
||
521 | { |
||
522 | $this->performEntityTest(\Picqer\Financials\Exact\DocumentTypeFolder::class); |
||
523 | } |
||
524 | |||
525 | public function testDocumentTypeEntity() |
||
526 | { |
||
527 | $this->performEntityTest(\Picqer\Financials\Exact\DocumentType::class); |
||
528 | } |
||
529 | |||
530 | public function testEmployeeEntity() |
||
531 | { |
||
532 | $this->performEntityTest(\Picqer\Financials\Exact\Employee::class); |
||
533 | } |
||
534 | |||
535 | public function testEmploymentContractFlexPhaseEntity() |
||
536 | { |
||
537 | $this->performEntityTest(\Picqer\Financials\Exact\EmploymentContractFlexPhase::class); |
||
538 | } |
||
539 | |||
540 | public function testEmploymentContractEntity() |
||
541 | { |
||
542 | $this->performEntityTest(\Picqer\Financials\Exact\EmploymentContract::class); |
||
543 | } |
||
544 | |||
545 | public function testEmploymentEndReasonEntity() |
||
546 | { |
||
547 | $this->performEntityTest(\Picqer\Financials\Exact\EmploymentEndReason::class); |
||
548 | } |
||
549 | |||
550 | public function testEmploymentInternalRateEntity() |
||
551 | { |
||
552 | $this->performEntityTest(\Picqer\Financials\Exact\EmploymentInternalRate::class); |
||
553 | } |
||
554 | |||
555 | public function testEmploymentOrganizationEntity() |
||
556 | { |
||
557 | $this->performEntityTest(\Picqer\Financials\Exact\EmploymentOrganization::class); |
||
558 | } |
||
559 | |||
560 | public function testEmploymentEntity() |
||
561 | { |
||
562 | $this->performEntityTest(\Picqer\Financials\Exact\Employment::class); |
||
563 | } |
||
564 | |||
565 | public function testEmploymentSalaryEntity() |
||
566 | { |
||
567 | $this->performEntityTest(\Picqer\Financials\Exact\EmploymentSalary::class); |
||
568 | } |
||
569 | |||
570 | public function testExchangeRateEntity() |
||
571 | { |
||
572 | $this->performEntityTest(\Picqer\Financials\Exact\ExchangeRate::class); |
||
573 | } |
||
574 | |||
575 | public function testFinancialPeriodEntity() |
||
576 | { |
||
577 | $this->performEntityTest(\Picqer\Financials\Exact\FinancialPeriod::class); |
||
578 | } |
||
579 | |||
580 | public function testGeneralJournalEntryLineEntity() |
||
581 | { |
||
582 | $this->performEntityTest(\Picqer\Financials\Exact\GeneralJournalEntryLine::class); |
||
583 | } |
||
584 | |||
585 | public function testGeneralJournalEntryEntity() |
||
586 | { |
||
587 | $this->performEntityTest(\Picqer\Financials\Exact\GeneralJournalEntry::class); |
||
588 | } |
||
589 | |||
590 | public function testGetMostRecentlyUsedDivisionEntity() |
||
591 | { |
||
592 | $this->performEntityTest(\Picqer\Financials\Exact\GetMostRecentlyUsedDivision::class); |
||
593 | } |
||
594 | |||
595 | public function testGLAccountClassificationMappingEntity() |
||
596 | { |
||
597 | $this->performEntityTest(\Picqer\Financials\Exact\GLAccountClassificationMapping::class); |
||
598 | } |
||
599 | |||
600 | public function testGLAccountEntity() |
||
601 | { |
||
602 | $this->performEntityTest(\Picqer\Financials\Exact\GLAccount::class); |
||
603 | } |
||
604 | |||
605 | public function testGLClassificationEntity() |
||
606 | { |
||
607 | $this->performEntityTest(\Picqer\Financials\Exact\GLClassification::class); |
||
608 | } |
||
609 | |||
610 | public function testGLSchemeEntity() |
||
611 | { |
||
612 | $this->performEntityTest(\Picqer\Financials\Exact\GLScheme::class); |
||
613 | } |
||
614 | |||
615 | public function testGLTransactionSourceEntity() |
||
616 | { |
||
617 | $this->performEntityTest(\Picqer\Financials\Exact\GLTransactionSource::class); |
||
618 | } |
||
619 | |||
620 | public function testGLTransactionTypeEntity() |
||
621 | { |
||
622 | $this->performEntityTest(\Picqer\Financials\Exact\GLTransactionType::class); |
||
623 | } |
||
624 | |||
625 | public function testGoodsDeliveryLineEntity() |
||
626 | { |
||
627 | $this->performEntityTest(\Picqer\Financials\Exact\GoodsDeliveryLine::class); |
||
628 | } |
||
629 | |||
630 | public function testGoodsDeliveryEntity() |
||
631 | { |
||
632 | $this->performEntityTest(\Picqer\Financials\Exact\GoodsDelivery::class); |
||
633 | } |
||
634 | |||
635 | public function testGoodsReceiptLineEntity() |
||
636 | { |
||
637 | $this->performEntityTest(\Picqer\Financials\Exact\GoodsReceiptLine::class); |
||
638 | } |
||
639 | |||
640 | public function testGoodsReceiptEntity() |
||
641 | { |
||
642 | $this->performEntityTest(\Picqer\Financials\Exact\GoodsReceipt::class); |
||
643 | } |
||
644 | |||
645 | public function testHostingOpportunityEntity() |
||
646 | { |
||
647 | $this->performEntityTest(\Picqer\Financials\Exact\HostingOpportunity::class); |
||
648 | } |
||
649 | |||
650 | public function testHourCostTypeEntity() |
||
651 | { |
||
652 | $this->performEntityTest(\Picqer\Financials\Exact\HourCostType::class); |
||
653 | } |
||
654 | |||
655 | public function testHourEntryActivitiesByProjectEntity() |
||
656 | { |
||
657 | $this->performEntityTest(\Picqer\Financials\Exact\HourEntryActivitiesByProject::class); |
||
658 | } |
||
659 | |||
660 | public function testHourEntryRecentAccountEntity() |
||
661 | { |
||
662 | $this->performEntityTest(\Picqer\Financials\Exact\HourEntryRecentAccount::class); |
||
663 | } |
||
664 | |||
665 | public function testHourEntryRecentAccountsByProjectEntity() |
||
666 | { |
||
667 | $this->performEntityTest(\Picqer\Financials\Exact\HourEntryRecentAccountsByProject::class); |
||
668 | } |
||
669 | |||
670 | public function testHourEntryRecentActivitiesByProjectEntity() |
||
671 | { |
||
672 | $this->performEntityTest(\Picqer\Financials\Exact\HourEntryRecentActivitiesByProject::class); |
||
673 | } |
||
674 | |||
675 | public function testHourEntryRecentHourTypeEntity() |
||
676 | { |
||
677 | $this->performEntityTest(\Picqer\Financials\Exact\HourEntryRecentHourType::class); |
||
678 | } |
||
679 | |||
680 | public function testHourEntryRecentHourTypesByProjectEntity() |
||
681 | { |
||
682 | $this->performEntityTest(\Picqer\Financials\Exact\HourEntryRecentHourTypesByProject::class); |
||
683 | } |
||
684 | |||
685 | public function testHourEntryRecentProjectEntity() |
||
686 | { |
||
687 | $this->performEntityTest(\Picqer\Financials\Exact\HourEntryRecentProject::class); |
||
688 | } |
||
689 | |||
690 | public function testHoursByDateEntity() |
||
691 | { |
||
692 | $this->performEntityTest(\Picqer\Financials\Exact\HoursByDate::class); |
||
693 | } |
||
694 | |||
695 | public function testHoursByIdEntity() |
||
696 | { |
||
697 | $this->performEntityTest(\Picqer\Financials\Exact\HoursById::class); |
||
698 | } |
||
699 | |||
700 | public function testHourTypeEntity() |
||
701 | { |
||
702 | $this->performEntityTest(\Picqer\Financials\Exact\HourType::class); |
||
703 | } |
||
704 | |||
705 | public function testHourTypesByDateEntity() |
||
706 | { |
||
707 | $this->performEntityTest(\Picqer\Financials\Exact\HourTypesByDate::class); |
||
708 | } |
||
709 | |||
710 | public function testHourTypesByProjectAndDateEntity() |
||
711 | { |
||
712 | $this->performEntityTest(\Picqer\Financials\Exact\HourTypesByProjectAndDate::class); |
||
713 | } |
||
714 | |||
715 | public function testImportNotificationDetailEntity() |
||
716 | { |
||
717 | $this->performEntityTest(\Picqer\Financials\Exact\ImportNotificationDetail::class); |
||
718 | } |
||
719 | |||
720 | public function testImportNotificationEntity() |
||
721 | { |
||
722 | $this->performEntityTest(\Picqer\Financials\Exact\ImportNotification::class); |
||
723 | } |
||
724 | |||
725 | public function testInvoiceSalesOrderEntity() |
||
726 | { |
||
727 | $this->performEntityTest(\Picqer\Financials\Exact\InvoiceSalesOrder::class); |
||
728 | } |
||
729 | |||
730 | public function testInvoiceSalesOrdersEntity() |
||
731 | { |
||
732 | $this->performEntityTest(\Picqer\Financials\Exact\InvoiceSalesOrders::class); |
||
733 | } |
||
734 | |||
735 | public function testInvoiceTermEntity() |
||
736 | { |
||
737 | $this->performEntityTest(\Picqer\Financials\Exact\InvoiceTerm::class); |
||
738 | } |
||
739 | |||
740 | public function testInvolvedUserEntity() |
||
741 | { |
||
742 | $this->performEntityTest(\Picqer\Financials\Exact\InvolvedUser::class); |
||
743 | } |
||
744 | |||
745 | public function testInvolvedUserRoleEntity() |
||
746 | { |
||
747 | $this->performEntityTest(\Picqer\Financials\Exact\InvolvedUserRole::class); |
||
748 | } |
||
749 | |||
750 | public function testItemAssortmentEntity() |
||
751 | { |
||
752 | $this->performEntityTest(\Picqer\Financials\Exact\ItemAssortment::class); |
||
753 | } |
||
754 | |||
755 | public function testItemAssortmentPropertyEntity() |
||
756 | { |
||
757 | $this->performEntityTest(\Picqer\Financials\Exact\ItemAssortmentProperty::class); |
||
758 | } |
||
759 | |||
760 | public function testItemDetailsByIDEntity() |
||
761 | { |
||
762 | $this->performEntityTest(\Picqer\Financials\Exact\ItemDetailsByID::class); |
||
763 | } |
||
764 | |||
765 | public function testItemExtraFieldEntity() |
||
766 | { |
||
767 | $this->performEntityTest(\Picqer\Financials\Exact\ItemExtraField::class); |
||
768 | } |
||
769 | |||
770 | public function testItemGroupEntity() |
||
771 | { |
||
772 | $this->performEntityTest(\Picqer\Financials\Exact\ItemGroup::class); |
||
773 | } |
||
774 | |||
775 | public function testItemEntity() |
||
776 | { |
||
777 | $this->performEntityTest(\Picqer\Financials\Exact\Item::class); |
||
778 | $item = new \Picqer\Financials\Exact\Item(new Connection()); |
||
779 | $item->PictureUrl = 'http://www.example.org/index.html?id=123'; |
||
780 | |||
781 | $this->assertSame('http://www.example.org/index.html?id=123', $item->getDownloadUrl()); |
||
782 | } |
||
783 | |||
784 | public function testItemVersionEntity() |
||
785 | { |
||
786 | $this->performEntityTest(\Picqer\Financials\Exact\ItemVersion::class); |
||
787 | } |
||
788 | |||
789 | public function testItemWarehouseEntity() |
||
790 | { |
||
791 | $this->performEntityTest(\Picqer\Financials\Exact\ItemWarehouse::class); |
||
792 | } |
||
793 | |||
794 | public function testItemWarehousePlanningDetailEntity() |
||
795 | { |
||
796 | $this->performEntityTest(\Picqer\Financials\Exact\ItemWarehousePlanningDetail::class); |
||
797 | } |
||
798 | |||
799 | public function testItemWarehousePlanningDetailsEntity() |
||
800 | { |
||
801 | $this->performEntityTest(\Picqer\Financials\Exact\ItemWarehousePlanningDetails::class); |
||
802 | } |
||
803 | |||
804 | public function testItemWarehouseStorageLocationEntity() |
||
805 | { |
||
806 | $this->performEntityTest(\Picqer\Financials\Exact\ItemWarehouseStorageLocation::class); |
||
807 | } |
||
808 | |||
809 | public function testJobGroupEntity() |
||
810 | { |
||
811 | $this->performEntityTest(\Picqer\Financials\Exact\JobGroup::class); |
||
812 | } |
||
813 | |||
814 | public function testJobTitleEntity() |
||
815 | { |
||
816 | $this->performEntityTest(\Picqer\Financials\Exact\JobTitle::class); |
||
817 | } |
||
818 | |||
819 | public function testJournalEntity() |
||
820 | { |
||
821 | $this->performEntityTest(\Picqer\Financials\Exact\Journal::class); |
||
822 | } |
||
823 | |||
824 | public function testJournalStatusByFinancialPeriodEntity() |
||
825 | { |
||
826 | $this->performEntityTest(\Picqer\Financials\Exact\JournalStatusByFinancialPeriod::class); |
||
827 | } |
||
828 | |||
829 | public function testJournalStatusListEntity() |
||
830 | { |
||
831 | $this->performEntityTest(\Picqer\Financials\Exact\JournalStatusList::class); |
||
832 | } |
||
833 | |||
834 | public function testLayoutEntity() |
||
835 | { |
||
836 | $this->performEntityTest(\Picqer\Financials\Exact\Layout::class); |
||
837 | } |
||
838 | |||
839 | public function testLeaveBuildUpRegistrationEntity() |
||
840 | { |
||
841 | $this->performEntityTest(\Picqer\Financials\Exact\LeaveBuildUpRegistration::class); |
||
842 | } |
||
843 | |||
844 | public function testLeaveRegistrationEntity() |
||
845 | { |
||
846 | $this->performEntityTest(\Picqer\Financials\Exact\LeaveRegistration::class); |
||
847 | } |
||
848 | |||
849 | public function testMailboxEntity() |
||
850 | { |
||
851 | $this->performEntityTest(\Picqer\Financials\Exact\Mailbox::class); |
||
852 | } |
||
853 | |||
854 | public function testMailMessageAttachmentEntity() |
||
855 | { |
||
856 | $this->performEntityTest(\Picqer\Financials\Exact\MailMessageAttachment::class); |
||
857 | } |
||
858 | |||
859 | public function testMailMessageEntity() |
||
860 | { |
||
861 | $this->performEntityTest(\Picqer\Financials\Exact\MailMessage::class); |
||
862 | } |
||
863 | |||
864 | public function testMailMessagesSentEntity() |
||
865 | { |
||
866 | $this->performEntityTest(\Picqer\Financials\Exact\MailMessagesSent::class); |
||
867 | } |
||
868 | |||
869 | public function testManufacturingSettingEntity() |
||
870 | { |
||
871 | $this->performEntityTest(\Picqer\Financials\Exact\ManufacturingSetting::class); |
||
872 | } |
||
873 | |||
874 | public function testMaterialIssueEntity() |
||
875 | { |
||
876 | $this->performEntityTest(\Picqer\Financials\Exact\MaterialIssue::class); |
||
877 | } |
||
878 | |||
879 | public function testMaterialReversalEntity() |
||
880 | { |
||
881 | $this->performEntityTest(\Picqer\Financials\Exact\MaterialReversal::class); |
||
882 | } |
||
883 | |||
884 | public function testMeEntity() |
||
885 | { |
||
886 | $this->performEntityTest(\Picqer\Financials\Exact\Me::class); |
||
887 | } |
||
888 | |||
889 | public function testOfficialReturnEntity() |
||
890 | { |
||
891 | $this->performEntityTest(\Picqer\Financials\Exact\OfficialReturn::class); |
||
892 | } |
||
893 | |||
894 | public function testOperationEntity() |
||
895 | { |
||
896 | $this->performEntityTest(\Picqer\Financials\Exact\Operation::class); |
||
897 | } |
||
898 | |||
899 | public function testOperationResourceEntity() |
||
900 | { |
||
901 | $this->performEntityTest(\Picqer\Financials\Exact\OperationResource::class); |
||
902 | } |
||
903 | |||
904 | public function testOpportunityContactEntity() |
||
905 | { |
||
906 | $this->performEntityTest(\Picqer\Financials\Exact\OpportunityContact::class); |
||
907 | } |
||
908 | |||
909 | public function testOpportunityDocumentsCountEntity() |
||
910 | { |
||
911 | $this->performEntityTest(\Picqer\Financials\Exact\OpportunityDocumentsCount::class); |
||
912 | } |
||
913 | |||
914 | public function testOpportunityDocumentsEntity() |
||
915 | { |
||
916 | $this->performEntityTest(\Picqer\Financials\Exact\OpportunityDocuments::class); |
||
917 | } |
||
918 | |||
919 | public function testOpportunityEntity() |
||
920 | { |
||
921 | $this->performEntityTest(\Picqer\Financials\Exact\Opportunity::class); |
||
922 | } |
||
923 | |||
924 | public function testOutstandingInvoicesOverviewEntity() |
||
925 | { |
||
926 | $this->performEntityTest(\Picqer\Financials\Exact\OutstandingInvoicesOverview::class); |
||
927 | } |
||
928 | |||
929 | public function testPayablesListByAccountAndAgeGroupEntity() |
||
930 | { |
||
931 | $this->performEntityTest(\Picqer\Financials\Exact\PayablesListByAccountAndAgeGroup::class); |
||
932 | } |
||
933 | |||
934 | public function testPayablesListByAccountEntity() |
||
935 | { |
||
936 | $this->performEntityTest(\Picqer\Financials\Exact\PayablesListByAccount::class); |
||
937 | } |
||
938 | |||
939 | public function testPayablesListByAgeGroupEntity() |
||
940 | { |
||
941 | $this->performEntityTest(\Picqer\Financials\Exact\PayablesListByAgeGroup::class); |
||
942 | } |
||
943 | |||
944 | public function testPayablesListEntity() |
||
945 | { |
||
946 | $this->performEntityTest(\Picqer\Financials\Exact\PayablesList::class); |
||
947 | } |
||
948 | |||
949 | public function testPaymentConditionEntity() |
||
950 | { |
||
951 | $this->performEntityTest(\Picqer\Financials\Exact\PaymentCondition::class); |
||
952 | } |
||
953 | |||
954 | public function testPaymentEntity() |
||
955 | { |
||
956 | $this->performEntityTest(\Picqer\Financials\Exact\Payment::class); |
||
957 | } |
||
958 | |||
959 | public function testPlannedSalesReturnLineEntity() |
||
960 | { |
||
961 | $this->performEntityTest(\Picqer\Financials\Exact\PlannedSalesReturnLine::class); |
||
962 | } |
||
963 | |||
964 | public function testPreferredMailboxForOperationEntity() |
||
965 | { |
||
966 | $this->performEntityTest(\Picqer\Financials\Exact\PreferredMailboxForOperation::class); |
||
967 | } |
||
968 | |||
969 | public function testPreferredMailboxEntity() |
||
970 | { |
||
971 | $this->performEntityTest(\Picqer\Financials\Exact\PreferredMailbox::class); |
||
972 | } |
||
973 | |||
974 | public function testPriceListEntity() |
||
975 | { |
||
976 | $this->performEntityTest(\Picqer\Financials\Exact\PriceList::class); |
||
977 | } |
||
978 | |||
979 | public function testPrintedSalesInvoiceEntity() |
||
980 | { |
||
981 | $this->performEntityTest(\Picqer\Financials\Exact\PrintedSalesInvoice::class); |
||
982 | } |
||
983 | |||
984 | public function testPrintedSalesOrderEntity() |
||
985 | { |
||
986 | $this->performEntityTest(\Picqer\Financials\Exact\PrintedSalesOrder::class); |
||
987 | } |
||
988 | |||
989 | public function testPrintQuotationEntity() |
||
990 | { |
||
991 | $this->performEntityTest(\Picqer\Financials\Exact\PrintQuotation::class); |
||
992 | } |
||
993 | |||
994 | public function testProcessedEntity() |
||
995 | { |
||
996 | $this->performEntityTest(\Picqer\Financials\Exact\Processed::class); |
||
997 | } |
||
998 | |||
999 | public function testProcessPaymentEntity() |
||
1000 | { |
||
1001 | $this->performEntityTest(\Picqer\Financials\Exact\ProcessPayment::class); |
||
1002 | } |
||
1003 | |||
1004 | public function testProcessStockCountEntity() |
||
1005 | { |
||
1006 | $this->performEntityTest(\Picqer\Financials\Exact\ProcessStockCount::class); |
||
1007 | } |
||
1008 | |||
1009 | public function testProcessWarehouseTransferEntity() |
||
1010 | { |
||
1011 | $this->performEntityTest(\Picqer\Financials\Exact\ProcessWarehouseTransfer::class); |
||
1012 | } |
||
1013 | |||
1014 | public function testProductionAreaEntity() |
||
1015 | { |
||
1016 | $this->performEntityTest(\Picqer\Financials\Exact\ProductionArea::class); |
||
1017 | } |
||
1018 | |||
1019 | public function testProfitLossOverviewEntity() |
||
1020 | { |
||
1021 | $this->performEntityTest(\Picqer\Financials\Exact\ProfitLossOverview::class); |
||
1022 | } |
||
1023 | |||
1024 | public function testProjectBudgetTypeEntity() |
||
1025 | { |
||
1026 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectBudgetType::class); |
||
1027 | } |
||
1028 | |||
1029 | public function testProjectHourBudgetEntity() |
||
1030 | { |
||
1031 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectHourBudget::class); |
||
1032 | } |
||
1033 | |||
1034 | public function testProjectEntity() |
||
1035 | { |
||
1036 | $this->performEntityTest(\Picqer\Financials\Exact\Project::class); |
||
1037 | } |
||
1038 | |||
1039 | public function testProjectPlanningEntity() |
||
1040 | { |
||
1041 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectPlanning::class); |
||
1042 | } |
||
1043 | |||
1044 | public function testProjectPlanningRecurringEntity() |
||
1045 | { |
||
1046 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectPlanningRecurring::class); |
||
1047 | } |
||
1048 | |||
1049 | public function testProjectRestrictionEmployeeEntity() |
||
1050 | { |
||
1051 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectRestrictionEmployee::class); |
||
1052 | } |
||
1053 | |||
1054 | public function testProjectRestrictionItemEntity() |
||
1055 | { |
||
1056 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectRestrictionItem::class); |
||
1057 | } |
||
1058 | |||
1059 | public function testProjectRestrictionRebillingEntity() |
||
1060 | { |
||
1061 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectRestrictionRebilling::class); |
||
1062 | } |
||
1063 | |||
1064 | public function testProjectWBSByProjectAndWBSEntity() |
||
1065 | { |
||
1066 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectWBSByProjectAndWBS::class); |
||
1067 | } |
||
1068 | |||
1069 | public function testProjectWBSByProjectEntity() |
||
1070 | { |
||
1071 | $this->performEntityTest(\Picqer\Financials\Exact\ProjectWBSByProject::class); |
||
1072 | } |
||
1073 | |||
1074 | public function testPurchaseEntryLineEntity() |
||
1075 | { |
||
1076 | $this->performEntityTest(\Picqer\Financials\Exact\PurchaseEntryLine::class); |
||
1077 | } |
||
1078 | |||
1079 | public function testPurchaseEntryEntity() |
||
1080 | { |
||
1081 | $this->performEntityTest(\Picqer\Financials\Exact\PurchaseEntry::class); |
||
1082 | } |
||
1083 | |||
1084 | public function testPurchaseInvoiceLineEntity() |
||
1085 | { |
||
1086 | $this->performEntityTest(\Picqer\Financials\Exact\PurchaseInvoiceLine::class); |
||
1087 | } |
||
1088 | |||
1089 | public function testPurchaseInvoiceEntity() |
||
1090 | { |
||
1091 | $this->performEntityTest(\Picqer\Financials\Exact\PurchaseInvoice::class); |
||
1092 | } |
||
1093 | |||
1094 | public function testPurchaseOrderLineEntity() |
||
1095 | { |
||
1096 | $this->performEntityTest(\Picqer\Financials\Exact\PurchaseOrderLine::class); |
||
1097 | } |
||
1098 | |||
1099 | public function testPurchaseOrderEntity() |
||
1100 | { |
||
1101 | $this->performEntityTest(\Picqer\Financials\Exact\PurchaseOrder::class); |
||
1102 | } |
||
1103 | |||
1104 | public function testQuotationLineEntity() |
||
1105 | { |
||
1106 | $this->performEntityTest(\Picqer\Financials\Exact\QuotationLine::class); |
||
1107 | } |
||
1108 | |||
1109 | public function testQuotationEntity() |
||
1110 | { |
||
1111 | $this->performEntityTest(\Picqer\Financials\Exact\Quotation::class); |
||
1112 | } |
||
1113 | |||
1114 | public function testReasonCodeEntity() |
||
1115 | { |
||
1116 | $this->performEntityTest(\Picqer\Financials\Exact\ReasonCode::class); |
||
1117 | } |
||
1118 | |||
1119 | public function testReceivableListEntity() |
||
1120 | { |
||
1121 | $this->performEntityTest(\Picqer\Financials\Exact\ReceivableList::class); |
||
1122 | } |
||
1123 | |||
1124 | public function testReceivableEntity() |
||
1125 | { |
||
1126 | $this->performEntityTest(\Picqer\Financials\Exact\Receivable::class); |
||
1127 | } |
||
1128 | |||
1129 | public function testReceivablesListByAccountAndAgeGroupEntity() |
||
1130 | { |
||
1131 | $this->performEntityTest(\Picqer\Financials\Exact\ReceivablesListByAccountAndAgeGroup::class); |
||
1132 | } |
||
1133 | |||
1134 | public function testReceivablesListByAccountEntity() |
||
1135 | { |
||
1136 | $this->performEntityTest(\Picqer\Financials\Exact\ReceivablesListByAccount::class); |
||
1137 | } |
||
1138 | |||
1139 | public function testReceivablesListByAgeGroupEntity() |
||
1140 | { |
||
1141 | $this->performEntityTest(\Picqer\Financials\Exact\ReceivablesListByAgeGroup::class); |
||
1142 | } |
||
1143 | |||
1144 | public function testReceivablesListEntity() |
||
1145 | { |
||
1146 | $this->performEntityTest(\Picqer\Financials\Exact\ReceivablesList::class); |
||
1147 | } |
||
1148 | |||
1149 | public function testRecentCostEntity() |
||
1150 | { |
||
1151 | $this->performEntityTest(\Picqer\Financials\Exact\RecentCost::class); |
||
1152 | } |
||
1153 | |||
1154 | public function testRecentCostsByNumberOfWeeksEntity() |
||
1155 | { |
||
1156 | $this->performEntityTest(\Picqer\Financials\Exact\RecentCostsByNumberOfWeeks::class); |
||
1157 | } |
||
1158 | |||
1159 | public function testRecentHourEntity() |
||
1160 | { |
||
1161 | $this->performEntityTest(\Picqer\Financials\Exact\RecentHour::class); |
||
1162 | } |
||
1163 | |||
1164 | public function testRecentTimeTransactionEntity() |
||
1165 | { |
||
1166 | $this->performEntityTest(\Picqer\Financials\Exact\RecentTimeTransaction::class); |
||
1167 | } |
||
1168 | |||
1169 | public function testRejectQuotationEntity() |
||
1170 | { |
||
1171 | $this->performEntityTest(\Picqer\Financials\Exact\RejectQuotation::class); |
||
1172 | } |
||
1173 | |||
1174 | public function testReopenQuotationEntity() |
||
1175 | { |
||
1176 | $this->performEntityTest(\Picqer\Financials\Exact\ReopenQuotation::class); |
||
1177 | } |
||
1178 | |||
1179 | public function testReportingBalanceEntity() |
||
1180 | { |
||
1181 | $this->performEntityTest(\Picqer\Financials\Exact\ReportingBalance::class); |
||
1182 | } |
||
1183 | |||
1184 | public function testReturnsEntity() |
||
1187 | } |
||
1188 | |||
1189 | public function testRevenueListByYearAndStatusEntity() |
||
1190 | { |
||
1191 | $this->performEntityTest(\Picqer\Financials\Exact\RevenueListByYearAndStatus::class); |
||
1192 | } |
||
1193 | |||
1194 | public function testRevenueListByYearEntity() |
||
1195 | { |
||
1196 | $this->performEntityTest(\Picqer\Financials\Exact\RevenueListByYear::class); |
||
1197 | } |
||
1198 | |||
1199 | public function testRevenueListEntity() |
||
1200 | { |
||
1201 | $this->performEntityTest(\Picqer\Financials\Exact\RevenueList::class); |
||
1202 | } |
||
1203 | |||
1204 | public function testReviewQuotationEntity() |
||
1205 | { |
||
1206 | $this->performEntityTest(\Picqer\Financials\Exact\ReviewQuotation::class); |
||
1207 | } |
||
1208 | |||
1209 | public function testSalesEntryLineEntity() |
||
1210 | { |
||
1211 | $this->performEntityTest(\Picqer\Financials\Exact\SalesEntryLine::class); |
||
1212 | } |
||
1213 | |||
1214 | public function testSalesEntryEntity() |
||
1215 | { |
||
1216 | $this->performEntityTest(\Picqer\Financials\Exact\SalesEntry::class); |
||
1217 | } |
||
1218 | |||
1219 | public function testSalesInvoiceLineEntity() |
||
1220 | { |
||
1221 | $this->performEntityTest(\Picqer\Financials\Exact\SalesInvoiceLine::class); |
||
1222 | } |
||
1223 | |||
1224 | public function testSalesInvoiceEntity() |
||
1225 | { |
||
1226 | $this->performEntityTest(\Picqer\Financials\Exact\SalesInvoice::class); |
||
1227 | } |
||
1228 | |||
1229 | public function testSalesItemPriceEntity() |
||
1230 | { |
||
1231 | $this->performEntityTest(\Picqer\Financials\Exact\SalesItemPrice::class); |
||
1232 | } |
||
1233 | |||
1234 | public function testSalesOrderIDEntity() |
||
1235 | { |
||
1236 | $this->performEntityTest(\Picqer\Financials\Exact\SalesOrderID::class); |
||
1237 | } |
||
1238 | |||
1239 | public function testSalesOrderLineEntity() |
||
1240 | { |
||
1241 | $this->performEntityTest(\Picqer\Financials\Exact\SalesOrderLine::class); |
||
1242 | } |
||
1243 | |||
1244 | public function testSalesOrderEntity() |
||
1245 | { |
||
1246 | $this->performEntityTest(\Picqer\Financials\Exact\SalesOrder::class); |
||
1247 | } |
||
1248 | |||
1249 | public function testSalesPriceListDetailEntity() |
||
1250 | { |
||
1251 | $this->performEntityTest(\Picqer\Financials\Exact\SalesPriceListDetail::class); |
||
1252 | } |
||
1253 | |||
1254 | public function testSalesShippingMethodsEntity() |
||
1255 | { |
||
1256 | $this->performEntityTest(\Picqer\Financials\Exact\SalesShippingMethods::class); |
||
1257 | } |
||
1258 | |||
1259 | public function testScheduleEntity() |
||
1260 | { |
||
1261 | $this->performEntityTest(\Picqer\Financials\Exact\Schedule::class); |
||
1262 | } |
||
1263 | |||
1264 | public function testSerialNumberEntity() |
||
1265 | { |
||
1266 | $this->performEntityTest(\Picqer\Financials\Exact\SerialNumber::class); |
||
1267 | } |
||
1268 | |||
1269 | public function testShippingMethodEntity() |
||
1270 | { |
||
1271 | $this->performEntityTest(\Picqer\Financials\Exact\ShippingMethod::class); |
||
1272 | } |
||
1273 | |||
1274 | public function testShopOrderMaterialPlanDetailEntity() |
||
1275 | { |
||
1276 | $this->performEntityTest(\Picqer\Financials\Exact\ShopOrderMaterialPlanDetail::class); |
||
1277 | } |
||
1278 | |||
1279 | public function testShopOrderMaterialPlanEntity() |
||
1280 | { |
||
1281 | $this->performEntityTest(\Picqer\Financials\Exact\ShopOrderMaterialPlan::class); |
||
1282 | } |
||
1283 | |||
1284 | public function testShopOrderEntity() |
||
1285 | { |
||
1286 | $this->performEntityTest(\Picqer\Financials\Exact\ShopOrder::class); |
||
1287 | } |
||
1288 | |||
1289 | public function testShopOrderPriorityEntity() |
||
1290 | { |
||
1291 | $this->performEntityTest(\Picqer\Financials\Exact\ShopOrderPriority::class); |
||
1292 | } |
||
1293 | |||
1294 | public function testShopOrderReceiptEntity() |
||
1295 | { |
||
1296 | $this->performEntityTest(\Picqer\Financials\Exact\ShopOrderReceipt::class); |
||
1297 | } |
||
1298 | |||
1299 | public function testShopOrderReversalEntity() |
||
1300 | { |
||
1301 | $this->performEntityTest(\Picqer\Financials\Exact\ShopOrderReversal::class); |
||
1302 | } |
||
1303 | |||
1304 | public function testShopOrderRoutingStepPlanEntity() |
||
1305 | { |
||
1306 | $this->performEntityTest(\Picqer\Financials\Exact\ShopOrderRoutingStepPlan::class); |
||
1307 | } |
||
1308 | |||
1309 | public function testShopOrderRoutingStepPlansAvailableToWorkEntity() |
||
1310 | { |
||
1311 | $this->performEntityTest(\Picqer\Financials\Exact\ShopOrderRoutingStepPlansAvailableToWork::class); |
||
1312 | } |
||
1313 | |||
1314 | public function testSolutionLinkEntity() |
||
1315 | { |
||
1316 | $this->performEntityTest(\Picqer\Financials\Exact\SolutionLink::class); |
||
1317 | } |
||
1318 | |||
1319 | public function testStageForDeliveryReceiptEntity() |
||
1320 | { |
||
1321 | $this->performEntityTest(\Picqer\Financials\Exact\StageForDeliveryReceipt::class); |
||
1322 | } |
||
1323 | |||
1324 | public function testStageForDeliveryReversalEntity() |
||
1325 | { |
||
1326 | $this->performEntityTest(\Picqer\Financials\Exact\StageForDeliveryReversal::class); |
||
1327 | } |
||
1328 | |||
1329 | public function testStartedTimedTimeTransactionEntity() |
||
1330 | { |
||
1331 | $this->performEntityTest(\Picqer\Financials\Exact\StartedTimedTimeTransaction::class); |
||
1332 | } |
||
1333 | |||
1334 | public function testStockBatchNumberEntity() |
||
1335 | { |
||
1336 | $this->performEntityTest(\Picqer\Financials\Exact\StockBatchNumber::class); |
||
1337 | } |
||
1338 | |||
1339 | public function testStockCountLineEntity() |
||
1340 | { |
||
1341 | $this->performEntityTest(\Picqer\Financials\Exact\StockCountLine::class); |
||
1342 | } |
||
1343 | |||
1344 | public function testStockCountEntity() |
||
1345 | { |
||
1346 | $this->performEntityTest(\Picqer\Financials\Exact\StockCount::class); |
||
1347 | } |
||
1348 | |||
1349 | public function testStockPositionEntity() |
||
1350 | { |
||
1351 | $this->performEntityTest(\Picqer\Financials\Exact\StockPosition::class); |
||
1352 | } |
||
1353 | |||
1354 | public function testStockSerialNumberEntity() |
||
1355 | { |
||
1356 | $this->performEntityTest(\Picqer\Financials\Exact\StockSerialNumber::class); |
||
1357 | } |
||
1358 | |||
1359 | public function testStorageLocationEntity() |
||
1360 | { |
||
1361 | $this->performEntityTest(\Picqer\Financials\Exact\StorageLocation::class); |
||
1362 | } |
||
1363 | |||
1364 | public function testSubOrderReversalEntity() |
||
1365 | { |
||
1366 | $this->performEntityTest(\Picqer\Financials\Exact\SubOrderReversal::class); |
||
1367 | } |
||
1368 | |||
1369 | public function testSubscriptionLineEntity() |
||
1370 | { |
||
1371 | $this->performEntityTest(\Picqer\Financials\Exact\SubscriptionLine::class); |
||
1372 | } |
||
1373 | |||
1374 | public function testSubscriptionLinesEntity() |
||
1375 | { |
||
1376 | $this->performEntityTest(\Picqer\Financials\Exact\SubscriptionLines::class); |
||
1377 | } |
||
1378 | |||
1379 | public function testSubscriptionEntity() |
||
1380 | { |
||
1381 | $this->performEntityTest(\Picqer\Financials\Exact\Subscription::class); |
||
1382 | } |
||
1383 | |||
1384 | public function testSubscriptionReasonCodeEntity() |
||
1385 | { |
||
1386 | $this->performEntityTest(\Picqer\Financials\Exact\SubscriptionReasonCode::class); |
||
1387 | } |
||
1388 | |||
1389 | public function testSubscriptionRestrictionEmployeeEntity() |
||
1390 | { |
||
1391 | $this->performEntityTest(\Picqer\Financials\Exact\SubscriptionRestrictionEmployee::class); |
||
1392 | } |
||
1393 | |||
1394 | public function testSubscriptionRestrictionItemEntity() |
||
1395 | { |
||
1396 | $this->performEntityTest(\Picqer\Financials\Exact\SubscriptionRestrictionItem::class); |
||
1397 | } |
||
1398 | |||
1399 | public function testSubscriptionsEntity() |
||
1400 | { |
||
1401 | $this->performEntityTest(\Picqer\Financials\Exact\Subscriptions::class); |
||
1402 | } |
||
1403 | |||
1404 | public function testSubscriptionTypeEntity() |
||
1405 | { |
||
1406 | $this->performEntityTest(\Picqer\Financials\Exact\SubscriptionType::class); |
||
1407 | } |
||
1408 | |||
1409 | public function testSubscriptionTypesEntity() |
||
1410 | { |
||
1411 | $this->performEntityTest(\Picqer\Financials\Exact\SubscriptionTypes::class); |
||
1412 | } |
||
1413 | |||
1414 | public function testSupplierItemEntity() |
||
1415 | { |
||
1416 | $this->performEntityTest(\Picqer\Financials\Exact\SupplierItem::class); |
||
1417 | } |
||
1418 | |||
1419 | public function testSystemDivisionEntity() |
||
1420 | { |
||
1421 | $this->performEntityTest(\Picqer\Financials\Exact\SystemDivision::class); |
||
1422 | } |
||
1423 | |||
1424 | public function testTaskEntity() |
||
1425 | { |
||
1426 | $this->performEntityTest(\Picqer\Financials\Exact\Task::class); |
||
1427 | } |
||
1428 | |||
1429 | public function testTaskTypeEntity() |
||
1430 | { |
||
1431 | $this->performEntityTest(\Picqer\Financials\Exact\TaskType::class); |
||
1432 | } |
||
1433 | |||
1434 | public function testTaxEmploymentEndFlexCodeEntity() |
||
1435 | { |
||
1436 | $this->performEntityTest(\Picqer\Financials\Exact\TaxEmploymentEndFlexCode::class); |
||
1437 | } |
||
1438 | |||
1439 | public function testTimeAndBillingAccountDetailEntity() |
||
1440 | { |
||
1441 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingAccountDetail::class); |
||
1442 | } |
||
1443 | |||
1444 | public function testTimeAndBillingAccountDetailsByIDEntity() |
||
1445 | { |
||
1446 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingAccountDetailsByID::class); |
||
1447 | } |
||
1448 | |||
1449 | public function testTimeAndBillingActivitiesAndExpenseEntity() |
||
1450 | { |
||
1451 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingActivitiesAndExpense::class); |
||
1452 | } |
||
1453 | |||
1454 | public function testTimeAndBillingEntryAccountEntity() |
||
1455 | { |
||
1456 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingEntryAccount::class); |
||
1457 | } |
||
1458 | |||
1459 | public function testTimeAndBillingEntryAccountsByDateEntity() |
||
1460 | { |
||
1461 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingEntryAccountsByDate::class); |
||
1462 | } |
||
1463 | |||
1464 | public function testTimeAndBillingEntryAccountsByProjectAndDateEntity() |
||
1465 | { |
||
1466 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingEntryAccountsByProjectAndDate::class); |
||
1467 | } |
||
1468 | |||
1469 | public function testTimeAndBillingEntryProjectEntity() |
||
1470 | { |
||
1471 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingEntryProject::class); |
||
1472 | } |
||
1473 | |||
1474 | public function testTimeAndBillingEntryProjectsByAccountAndDateEntity() |
||
1475 | { |
||
1476 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingEntryProjectsByAccountAndDate::class); |
||
1477 | } |
||
1478 | |||
1479 | public function testTimeAndBillingEntryProjectsByDateEntity() |
||
1480 | { |
||
1481 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingEntryProjectsByDate::class); |
||
1482 | } |
||
1483 | |||
1484 | public function testTimeAndBillingEntryRecentAccountEntity() |
||
1485 | { |
||
1486 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingEntryRecentAccount::class); |
||
1487 | } |
||
1488 | |||
1489 | public function testTimeAndBillingEntryRecentActivitiesAndExpenseEntity() |
||
1490 | { |
||
1491 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingEntryRecentActivitiesAndExpense::class); |
||
1492 | } |
||
1493 | |||
1494 | public function testTimeAndBillingEntryRecentHourCostTypeEntity() |
||
1495 | { |
||
1496 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingEntryRecentHourCostType::class); |
||
1497 | } |
||
1498 | |||
1499 | public function testTimeAndBillingEntryRecentProjectEntity() |
||
1500 | { |
||
1501 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingEntryRecentProject::class); |
||
1502 | } |
||
1503 | |||
1504 | public function testTimeAndBillingItemDetailEntity() |
||
1505 | { |
||
1506 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingItemDetail::class); |
||
1507 | } |
||
1508 | |||
1509 | public function testTimeAndBillingItemDetailsByIDEntity() |
||
1510 | { |
||
1511 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingItemDetailsByID::class); |
||
1512 | } |
||
1513 | |||
1514 | public function testTimeAndBillingProjectDetailEntity() |
||
1515 | { |
||
1516 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingProjectDetail::class); |
||
1517 | } |
||
1518 | |||
1519 | public function testTimeAndBillingProjectDetailsByIDEntity() |
||
1520 | { |
||
1521 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingProjectDetailsByID::class); |
||
1522 | } |
||
1523 | |||
1524 | public function testTimeAndBillingRecentProjectEntity() |
||
1525 | { |
||
1526 | $this->performEntityTest(\Picqer\Financials\Exact\TimeAndBillingRecentProject::class); |
||
1527 | } |
||
1528 | |||
1529 | public function testTimeCorrectionEntity() |
||
1530 | { |
||
1531 | $this->performEntityTest(\Picqer\Financials\Exact\TimeCorrection::class); |
||
1532 | } |
||
1533 | |||
1534 | public function testTimedTimeTransactionEntity() |
||
1535 | { |
||
1536 | $this->performEntityTest(\Picqer\Financials\Exact\TimedTimeTransaction::class); |
||
1537 | } |
||
1538 | |||
1539 | public function testTimeTransactionEntity() |
||
1540 | { |
||
1541 | $this->performEntityTest(\Picqer\Financials\Exact\TimeTransaction::class); |
||
1542 | } |
||
1543 | |||
1544 | public function testTransactionLineEntity() |
||
1545 | { |
||
1546 | $this->performEntityTest(\Picqer\Financials\Exact\TransactionLine::class); |
||
1547 | } |
||
1548 | |||
1549 | public function testTransactionEntity() |
||
1550 | { |
||
1551 | $this->performEntityTest(\Picqer\Financials\Exact\Transaction::class); |
||
1552 | } |
||
1553 | |||
1554 | public function testTransactionsEntity() |
||
1555 | { |
||
1556 | $this->performEntityTest(\Picqer\Financials\Exact\Transactions::class); |
||
1557 | } |
||
1558 | |||
1559 | public function testUnitEntity() |
||
1560 | { |
||
1561 | $this->performEntityTest(\Picqer\Financials\Exact\Unit::class); |
||
1562 | } |
||
1563 | |||
1564 | public function testUnitsEntity() |
||
1565 | { |
||
1566 | $this->performEntityTest(\Picqer\Financials\Exact\Units::class); |
||
1567 | } |
||
1568 | |||
1569 | public function testUserHasRightsEntity() |
||
1570 | { |
||
1571 | $this->performEntityTest(\Picqer\Financials\Exact\UserHasRights::class); |
||
1572 | } |
||
1573 | |||
1574 | public function testUserEntity() |
||
1575 | { |
||
1576 | $this->performEntityTest(\Picqer\Financials\Exact\User::class); |
||
1577 | } |
||
1578 | |||
1579 | public function testUserRoleEntity() |
||
1580 | { |
||
1581 | $this->performEntityTest(\Picqer\Financials\Exact\UserRole::class); |
||
1582 | } |
||
1583 | |||
1584 | public function testUserRolesPerDivisionEntity() |
||
1587 | } |
||
1588 | |||
1589 | public function testVatCodeEntity() |
||
1590 | { |
||
1591 | $this->performEntityTest(\Picqer\Financials\Exact\VatCode::class); |
||
1592 | } |
||
1593 | |||
1594 | public function testVatPercentageEntity() |
||
1595 | { |
||
1596 | $this->performEntityTest(\Picqer\Financials\Exact\VatPercentage::class); |
||
1597 | } |
||
1598 | |||
1599 | public function testWarehouseEntity() |
||
1602 | } |
||
1603 | |||
1604 | public function testWarehouseTransferLineEntity() |
||
1605 | { |
||
1606 | $this->performEntityTest(\Picqer\Financials\Exact\WarehouseTransferLine::class); |
||
1607 | } |
||
1608 | |||
1609 | public function testWarehouseTransferEntity() |
||
1610 | { |
||
1611 | $this->performEntityTest(\Picqer\Financials\Exact\WarehouseTransfer::class); |
||
1612 | } |
||
1613 | |||
1614 | public function testWebhookSubscriptionEntity() |
||
1615 | { |
||
1616 | $this->performEntityTest(\Picqer\Financials\Exact\WebhookSubscription::class); |
||
1617 | } |
||
1618 | |||
1619 | public function testWorkcenterEntity() |
||
1620 | { |
||
1621 | $this->performEntityTest(\Picqer\Financials\Exact\Workcenter::class); |
||
1622 | } |
||
1623 | |||
1624 | protected function performEntityTest($entityName) |
||
1625 | { |
||
1626 | $reflectionClass = new \ReflectionClass($entityName); |
||
1627 | |||
1628 | $this->assertTrue($reflectionClass->isInstantiable()); |
||
1629 | $this->assertTrue($reflectionClass->hasProperty('fillable')); |
||
1630 | $this->assertTrue($reflectionClass->hasProperty('url')); |
||
1631 | $this->assertEquals('Picqer\Financials\Exact', $reflectionClass->getNamespaceName()); |
||
1632 | $this->assertTrue($reflectionClass->isSubclassOf('Picqer\Financials\Exact\Model')); |
||
1633 | } |
||
1634 | } |
||
1635 |