|
|
|
@ -232,7 +232,9 @@ public class ImportOfficeData extends ContextBasedTest {
|
|
|
|
|
1201=contact(label='Frau Dr. Jenny Meyer-Billing , JM GmbH', emailAddresses='jm-billing@example.org'),
|
|
|
|
|
1202=contact(label='Herr Andrew Meyer-Operation , JM GmbH', emailAddresses='am-operation@example.org'),
|
|
|
|
|
1203=contact(label='Herr Philip Meyer-Contract , JM GmbH', emailAddresses='pm-partner@example.org'),
|
|
|
|
|
1301=contact(label='Petra Schmidt , Test PS', emailAddresses='ps@example.com')
|
|
|
|
|
1204=contact(label='Frau Tammy Meyer-VIP , JM GmbH', emailAddresses='tm-vip@example.org'),
|
|
|
|
|
1301=contact(label='Petra Schmidt , Test PS', emailAddresses='ps@example.com'),
|
|
|
|
|
1401=contact(label='Frau Frauke Fanninga ', emailAddresses='ff@example.org')
|
|
|
|
|
}
|
|
|
|
|
""");
|
|
|
|
|
assertThat(toFormattedString(persons)).isEqualToIgnoringWhitespace("""
|
|
|
|
@ -243,7 +245,9 @@ public class ImportOfficeData extends ContextBasedTest {
|
|
|
|
|
1201=person(personType='LP', tradeName='JM GmbH', familyName='Meyer-Billing', givenName='Jenny'),
|
|
|
|
|
1202=person(personType='LP', tradeName='JM GmbH', familyName='Meyer-Operation', givenName='Andrew'),
|
|
|
|
|
1203=person(personType='LP', tradeName='JM GmbH', familyName='Meyer-Contract', givenName='Philip'),
|
|
|
|
|
1301=person(personType='??', tradeName='Test PS', familyName='Schmidt', givenName='Petra')
|
|
|
|
|
1204=person(personType='LP', tradeName='JM GmbH', familyName='Meyer-VIP', givenName='Tammy'),
|
|
|
|
|
1301=person(personType='??', tradeName='Test PS', familyName='Schmidt', givenName='Petra'),
|
|
|
|
|
1401=person(personType='NP', tradeName='', familyName='Fanninga', givenName='Frauke')
|
|
|
|
|
}
|
|
|
|
|
""");
|
|
|
|
|
assertThat(toFormattedString(debitors)).isEqualToIgnoringWhitespace("""
|
|
|
|
@ -273,9 +277,11 @@ public class ImportOfficeData extends ContextBasedTest {
|
|
|
|
|
2000008=rel(relAnchor='LP JM GmbH', relType='REPRESENTATIVE', relHolder='LP JM GmbH', contact='Herr Philip Meyer-Contract , JM GmbH'),
|
|
|
|
|
2000009=rel(relAnchor='LP JM GmbH', relType='SUBSCRIBER', relMark='members-announce', relHolder='LP JM GmbH', contact='Herr Philip Meyer-Contract , JM GmbH'),
|
|
|
|
|
2000010=rel(relAnchor='LP JM GmbH', relType='SUBSCRIBER', relMark='customers-announce', relHolder='LP JM GmbH', contact='Herr Philip Meyer-Contract , JM GmbH'),
|
|
|
|
|
2000011=rel(relAnchor='?? Test PS', relType='OPERATIONS', relHolder='?? Test PS', contact='Petra Schmidt , Test PS'),
|
|
|
|
|
2000012=rel(relAnchor='?? Test PS', relType='REPRESENTATIVE', relHolder='?? Test PS', contact='Petra Schmidt , Test PS'),
|
|
|
|
|
2000013=rel(relAnchor='NP Mellies, Michael', relType='REPRESENTATIVE', relHolder='NP Mellies, Michael', contact='Herr Michael Mellies ')
|
|
|
|
|
2000011=rel(relAnchor='LP JM GmbH', relType='VIP_CONTACT', relHolder='LP JM GmbH', contact='Frau Tammy Meyer-VIP , JM GmbH'),
|
|
|
|
|
2000012=rel(relAnchor='?? Test PS', relType='OPERATIONS', relHolder='?? Test PS', contact='Petra Schmidt , Test PS'),
|
|
|
|
|
2000013=rel(relAnchor='?? Test PS', relType='REPRESENTATIVE', relHolder='?? Test PS', contact='Petra Schmidt , Test PS'),
|
|
|
|
|
2000014=rel(relAnchor='NP Mellies, Michael', relType='SUBSCRIBER', relMark='operations-announce', relHolder='NP Fanninga, Frauke', contact='Frau Frauke Fanninga '),
|
|
|
|
|
2000015=rel(relAnchor='NP Mellies, Michael', relType='REPRESENTATIVE', relHolder='NP Mellies, Michael', contact='Herr Michael Mellies ')
|
|
|
|
|
}
|
|
|
|
|
""");
|
|
|
|
|
}
|
|
|
|
@ -602,8 +608,6 @@ public class ImportOfficeData extends ContextBasedTest {
|
|
|
|
|
.build();
|
|
|
|
|
debitors.put(rec.getInteger("bp_id"), debitor);
|
|
|
|
|
|
|
|
|
|
partners.put(rec.getInteger("bp_id"), partner);
|
|
|
|
|
|
|
|
|
|
if (isNotBlank(rec.getString("member_since"))) {
|
|
|
|
|
assertThat(rec.getInteger("member_id")).isEqualTo(partner.getPartnerNumber());
|
|
|
|
|
final var membership = HsOfficeMembershipEntity.builder()
|
|
|
|
|