EntityTest   F
last analyzed

Complexity

Total Complexity 317

Size/Duplication

Total Lines 1603
Duplicated Lines 0 %

Importance

Changes 6
Bugs 3 Features 0
Metric Value
wmc 317
eloc 332
c 6
b 3
f 0
dl 0
loc 1603
rs 2

317 Methods

Rating   Name   Duplication   Size   Complexity  
A testDefaultMailboxEntity() 0 3 1
A testBudgetScenarioEntity() 0 3 1
A testDivisionClassNameEntity() 0 3 1
A testBillOfMaterialVersionEntity() 0 3 1
A testReturnsEntity() 0 3 1
A testMeEntity() 0 3 1
A testAccountClassificationNameEntity() 0 3 1
A testGLSchemeEntity() 0 3 1
A testBulkGLAccountEntity() 0 3 1
A testPreferredMailboxEntity() 0 3 1
A testGoodsReceiptLineEntity() 0 3 1
A testAbsenceRegistrationEntity() 0 3 1
A testOpportunityContactEntity() 0 3 1
A testScheduleEntity() 0 3 1
A testByProductReceiptEntity() 0 3 1
A testPayablesListEntity() 0 3 1
A testPayablesListByAgeGroupEntity() 0 3 1
A testBulkAddressEntity() 0 3 1
A testAddressEntity() 0 3 1
A testItemGroupEntity() 0 3 1
A testOpportunityDocumentsCountEntity() 0 3 1
A testDivisionClassEntity() 0 3 1
A testBulkGoodsDeliveryEntity() 0 3 1
A testReviewQuotationEntity() 0 3 1
A testItemWarehouseEntity() 0 3 1
A testRevenueListByYearAndStatusEntity() 0 3 1
A testPrintedSalesOrderEntity() 0 3 1
A testDocumentFolderEntity() 0 3 1
A testAddressStateEntity() 0 3 1
A testPaymentConditionEntity() 0 3 1
A testCostEntryRecentCostTypeEntity() 0 3 1
A testHourEntryRecentProjectEntity() 0 3 1
A testSalesOrderIDEntity() 0 3 1
A testAccountantInfoEntity() 0 3 1
A testPreferredMailboxForOperationEntity() 0 3 1
A testHourTypeEntity() 0 3 1
A testGLAccountClassificationMappingEntity() 0 3 1
A testShopOrderMaterialPlanDetailEntity() 0 3 1
A testJournalStatusByFinancialPeriodEntity() 0 3 1
A testOperationResourceEntity() 0 3 1
A testExchangeRateEntity() 0 3 1
A testJournalEntity() 0 3 1
A testSolutionLinkEntity() 0 3 1
A testInvolvedUserEntity() 0 3 1
A testAccountDocumentFolderEntity() 0 3 1
A testHourEntryRecentAccountsByProjectEntity() 0 3 1
A testMailMessagesSentEntity() 0 3 1
A testItemWarehousePlanningDetailsEntity() 0 3 1
A testSalesEntryLineEntity() 0 3 1
A testEmploymentSalaryEntity() 0 3 1
A testDocumentsAttachmentEntity() 0 3 1
A testOpportunityEntity() 0 3 1
A testHoursByIdEntity() 0 3 1
A testDocumentAttachmentEntity() 0 7 1
A testShopOrderRoutingStepPlansAvailableToWorkEntity() 0 3 1
A testBulkSalesOrderEntity() 0 3 1
A testPriceListEntity() 0 3 1
A testRecentCostEntity() 0 3 1
A testOfficialReturnEntity() 0 3 1
A testCashEntryLineEntity() 0 3 1
A testCostcenterEntity() 0 3 1
A testAccountClassEntity() 0 3 1
A testShippingMethodEntity() 0 3 1
A testHourCostTypeEntity() 0 3 1
A testRevenueListByYearEntity() 0 3 1
A testEmploymentContractEntity() 0 3 1
A testEmploymentInternalRateEntity() 0 3 1
A testAccountDocumentEntity() 0 3 1
A testDocumentTypeCategoryEntity() 0 3 1
A testShopOrderRoutingStepPlanEntity() 0 3 1
A testBulkQuotationLineEntity() 0 3 1
A testInvoiceSalesOrderEntity() 0 3 1
A testShopOrderReceiptEntity() 0 3 1
A testBillOfMaterialVersionsEntity() 0 3 1
A testSubscriptionReasonCodeEntity() 0 3 1
A testCostTransactionEntity() 0 3 1
A testPayablesListByAccountAndAgeGroupEntity() 0 3 1
A testEmploymentEntity() 0 3 1
A testCostEntryRecentProjectEntity() 0 3 1
A testItemAssortmentPropertyEntity() 0 3 1
A testGLAccountEntity() 0 3 1
A testItemExtraFieldEntity() 0 3 1
A testMaterialReversalEntity() 0 3 1
A testAccountOwnerEntity() 0 3 1
A testCurrencyEntity() 0 3 1
A testCostEntryRecentAccountsByProjectEntity() 0 3 1
A testDocumentTypeEntity() 0 3 1
A testJournalStatusListEntity() 0 3 1
A testAccountItemEntity() 0 3 1
A testRevenueListEntity() 0 3 1
A testComplaintEntity() 0 3 1
A testRecentHourEntity() 0 3 1
A testSalesOrderEntity() 0 3 1
A testBulkDocumentEntity() 0 3 1
A testLayoutEntity() 0 3 1
A testLeaveRegistrationEntity() 0 3 1
A testShopOrderReversalEntity() 0 3 1
A testOperationEntity() 0 3 1
A testCostTypesByProjectAndDateEntity() 0 3 1
A testGoodsDeliveryEntity() 0 3 1
A testAccountDocumentCountEntity() 0 3 1
A testContactEntity() 0 3 1
A testPrintQuotationEntity() 0 3 1
A testJobTitleEntity() 0 3 1
A testEmploymentEndReasonEntity() 0 3 1
A testCashEntryEntity() 0 3 1
A testOpportunityDocumentsEntity() 0 3 1
A testBulkPaymentEntity() 0 3 1
A testHourTypesByProjectAndDateEntity() 0 3 1
A testImportNotificationDetailEntity() 0 3 1
A testDirectDebitMandateEntity() 0 3 1
A testBulkTransactionLineEntity() 0 3 1
A testOutstandingInvoicesOverviewEntity() 0 3 1
A testCostEntryRecentAccountEntity() 0 3 1
A testPayablesListByAccountEntity() 0 3 1
A testDocumentEntity() 0 3 1
A testSalesOrderLineEntity() 0 3 1
A testHourEntryRecentActivitiesByProjectEntity() 0 3 1
A testDocumentTypeFolderEntity() 0 3 1
A testBulkSalesInvoiceLineEntity() 0 3 1
A testBulkGLClassificationEntity() 0 3 1
A testCostunitEntity() 0 3 1
A testBudgetEntity() 0 3 1
A testMailMessageEntity() 0 3 1
A testFinancialPeriodEntity() 0 3 1
A testHostingOpportunityEntity() 0 3 1
A testAbsenceRegistrationTransactionEntity() 0 3 1
A testDivisionClasseEntity() 0 3 1
A testCommunicationNoteEntity() 0 3 1
A testPaymentEntity() 0 3 1
A testGeneralJournalEntryLineEntity() 0 3 1
A testCostEntryRecentExpensesByProjectEntity() 0 3 1
A testBulkContactEntity() 0 3 1
A testPlannedSalesReturnLineEntity() 0 3 1
A testItemAssortmentEntity() 0 3 1
A testDivisionClassValueEntity() 0 3 1
A testMailMessageAttachmentEntity() 0 3 1
A testSalesInvoiceLineEntity() 0 3 1
A testInvoiceSalesOrdersEntity() 0 3 1
A testShopOrderEntity() 0 3 1
A testBulkSalesInvoiceEntity() 0 3 1
A testAcceptQuotationEntity() 0 3 1
A testDepreciationMethodEntity() 0 3 1
A testSubscriptionRestrictionItemEntity() 0 3 1
A testGoodsDeliveryLineEntity() 0 3 1
A testHourEntryRecentAccountEntity() 0 3 1
A testSalesPriceListDetailEntity() 0 3 1
A testAccountInvolvedAccountEntity() 0 3 1
A testItemWarehousePlanningDetailEntity() 0 3 1
A testHourEntryActivitiesByProjectEntity() 0 3 1
A testSalesItemPriceEntity() 0 3 1
A testGLClassificationEntity() 0 3 1
A testCostEntryRecentCostTypesByProjectEntity() 0 3 1
A testHourEntryRecentHourTypeEntity() 0 3 1
A testInvolvedUserRoleEntity() 0 3 1
A testSalesShippingMethodsEntity() 0 3 1
A testAccountClassificationEntity() 0 3 1
A testEmployeeEntity() 0 3 1
A testSalesInvoiceEntity() 0 3 1
A testGLTransactionSourceEntity() 0 3 1
A testBulkSalesItemPriceEntity() 0 3 1
A testHourTypesByDateEntity() 0 3 1
A testManufacturingSettingEntity() 0 3 1
A testImportNotificationEntity() 0 3 1
A testBulkItemEntity() 0 3 1
A testGLTransactionTypeEntity() 0 3 1
A testBulkReceivableEntity() 0 3 1
A testAccountEntity() 0 3 1
A testBulkSalesOrderLineEntity() 0 3 1
A testDocumentCategorieEntity() 0 3 1
A testHourEntryRecentHourTypesByProjectEntity() 0 3 1
A testCostTypeEntity() 0 3 1
A testGoodsReceiptEntity() 0 3 1
A testActiveEmploymentEntity() 0 3 1
A testBulkQuotationEntity() 0 3 1
A testDocumentCategoryEntity() 0 3 1
A testCostsByDateEntity() 0 3 1
A testReopenQuotationEntity() 0 3 1
A testEmploymentOrganizationEntity() 0 3 1
A testRecentCostsByNumberOfWeeksEntity() 0 3 1
A testShopOrderMaterialPlanEntity() 0 3 1
A testBulkAccountEntity() 0 3 1
A testRecentTimeTransactionEntity() 0 3 1
A testBulkDocumentAttachmentEntity() 0 7 1
A testSubscriptionRestrictionEmployeeEntity() 0 3 1
A testPrintedSalesInvoiceEntity() 0 3 1
A testBulkGoodsDeliveryLineEntity() 0 3 1
A testJobGroupEntity() 0 3 1
A testCostTypesByDateEntity() 0 3 1
A testCostsByIdEntity() 0 3 1
A testRejectQuotationEntity() 0 3 1
A testDepartmentEntity() 0 3 1
A testLeaveBuildUpRegistrationEntity() 0 3 1
A testMaterialIssueEntity() 0 3 1
A testGeneralJournalEntryEntity() 0 3 1
A testItemWarehouseStorageLocationEntity() 0 3 1
A testItemEntity() 0 7 1
A testMailboxEntity() 0 3 1
A testDivisionEntity() 0 3 1
A testItemDetailsByIDEntity() 0 3 1
A testCostEntryExpensesByProjectEntity() 0 3 1
A testShopOrderPriorityEntity() 0 3 1
A testGetMostRecentlyUsedDivisionEntity() 0 3 1
A testByProductReversalEntity() 0 3 1
A testInvoiceTermEntity() 0 3 1
A testHoursByDateEntity() 0 3 1
A testEmploymentContractFlexPhaseEntity() 0 3 1
A testDefaultAddressForAccountEntity() 0 3 1
A testSalesEntryEntity() 0 3 1
A testItemVersionEntity() 0 3 1
A testSerialNumberEntity() 0 3 1
A testProcessPaymentEntity() 0 3 1
A testUserRolesPerDivisionEntity() 0 3 1
A testBillOfMaterialMaterialEntity() 0 3 1
A testWarehouseEntity() 0 3 1
A testUserHasRightsEntity() 0 3 1
A testProjectHourBudgetEntity() 0 3 1
A testAgingOverviewEntity() 0 3 1
A testProjectRestrictionItemEntity() 0 3 1
A testProjectWBSByProjectAndWBSEntity() 0 3 1
A testAssetEntity() 0 3 1
A testProjectPlanningRecurringEntity() 0 3 1
A testUserRoleEntity() 0 3 1
A testTimeAndBillingRecentProjectEntity() 0 3 1
A testTimeAndBillingEntryAccountsByDateEntity() 0 3 1
A testTimeAndBillingEntryProjectsByDateEntity() 0 3 1
A testAgingOverviewByAccountEntity() 0 3 1
A testUserEntity() 0 3 1
A testReceivablesListByAccountEntity() 0 3 1
A testReasonCodeEntity() 0 3 1
A testTimeAndBillingItemDetailEntity() 0 3 1
A performEntityTest() 0 9 1
A testBankEntity() 0 3 1
A testTransactionEntity() 0 3 1
A testAgingReceivablesListByAgeGroupEntity() 0 3 1
A testTransactionLineEntity() 0 3 1
A testTimeCorrectionEntity() 0 3 1
A testTimeAndBillingEntryAccountEntity() 0 3 1
A testWorkcenterEntity() 0 3 1
A testWarehouseTransferEntity() 0 3 1
A testBatchNumberEntity() 0 3 1
A testVatPercentageEntity() 0 3 1
A testWebhookSubscriptionEntity() 0 3 1
A testTimeAndBillingEntryRecentHourCostTypeEntity() 0 3 1
A testPurchaseInvoiceLineEntity() 0 3 1
A testProjectWBSByProjectEntity() 0 3 1
A testProjectPlanningEntity() 0 3 1
A testCurrentYearProcessedEntity() 0 3 1
A testTimeAndBillingProjectDetailEntity() 0 3 1
A testReceivablesListByAgeGroupEntity() 0 3 1
A testQuotationEntity() 0 3 1
A testProjectRestrictionEmployeeEntity() 0 3 1
A testTimeAndBillingAccountDetailEntity() 0 3 1
A testTimeAndBillingEntryRecentAccountEntity() 0 3 1
A testTimeAndBillingEntryRecentActivitiesAndExpenseEntity() 0 3 1
A testPurchaseOrderEntity() 0 3 1
A testVatCodeEntity() 0 3 1
A testUnitEntity() 0 3 1
A testTimeAndBillingAccountDetailsByIDEntity() 0 3 1
A testTimeAndBillingProjectDetailsByIDEntity() 0 3 1
A testProjectBudgetTypeEntity() 0 3 1
A testProfitLossOverviewEntity() 0 3 1
A testAgingPayablesListEntity() 0 3 1
A testProjectEntity() 0 3 1
A testTimedTimeTransactionEntity() 0 3 1
A testPurchaseInvoiceEntity() 0 3 1
A testWarehouseTransferLineEntity() 0 3 1
A testBankAccountEntity() 0 3 1
A testAssemblyOrderEntity() 0 3 1
A testProductionAreaEntity() 0 3 1
A testPreviousYearProcessedEntity() 0 3 1
A testPreviousYearAfterEntryEntity() 0 3 1
A testReceivableEntity() 0 3 1
A testTimeAndBillingEntryProjectEntity() 0 3 1
A testAgingReceivablesListEntity() 0 3 1
A testReceivablesListEntity() 0 3 1
A testBankEntryLineEntity() 0 3 1
A testTimeAndBillingActivitiesAndExpenseEntity() 0 3 1
A testUnitsEntity() 0 3 1
A testTaskTypeEntity() 0 3 1
A testTimeAndBillingEntryAccountsByProjectAndDateEntity() 0 3 1
A testAssetGroupEntity() 0 3 1
A testProjectRestrictionRebillingEntity() 0 3 1
A testReceivablesListByAccountAndAgeGroupEntity() 0 3 1
A testProcessWarehouseTransferEntity() 0 3 1
A testProcessStockCountEntity() 0 3 1
A testBankEntryEntity() 0 3 1
A testCurrentYearAfterEntryEntity() 0 3 1
A testTimeAndBillingEntryProjectsByAccountAndDateEntity() 0 3 1
A testAgingPayablesListByAgeGroupEntity() 0 3 1
A testQuotationLineEntity() 0 3 1
A testTimeTransactionEntity() 0 3 1
A testAvailableFeatureEntity() 0 3 1
A testPurchaseOrderLineEntity() 0 3 1
A testTimeAndBillingItemDetailsByIDEntity() 0 3 1
A testPurchaseEntryLineEntity() 0 3 1
A testPurchaseEntryEntity() 0 3 1
A testTimeAndBillingEntryRecentProjectEntity() 0 3 1
A testReportingBalanceEntity() 0 3 1
A testSubscriptionEntity() 0 3 1
A testStockCountEntity() 0 3 1
A testStageForDeliveryReversalEntity() 0 3 1
A testStockCountLineEntity() 0 3 1
A testSubOrderReversalEntity() 0 3 1
A testTaskEntity() 0 3 1
A testStageForDeliveryReceiptEntity() 0 3 1
A testSystemDivisionEntity() 0 3 1
A testTaxEmploymentEndFlexCodeEntity() 0 3 1
A testStartedTimedTimeTransactionEntity() 0 3 1
A testStockPositionEntity() 0 3 1
A testStockSerialNumberEntity() 0 3 1
A testStorageLocationEntity() 0 3 1
A testSubscriptionLineEntity() 0 3 1
A testStockBatchNumberEntity() 0 3 1
A testSubscriptionTypeEntity() 0 3 1
A testSubscriptionsEntity() 0 3 1
A testSupplierItemEntity() 0 3 1

How to fix   Complexity   

Complex Class

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