GetSepaMandate

3

tests

0

failures

0

ignored

3.792s

duration

100%

successful

Tests

Test Duration Result
bankAccountAdminUser_canGetRelatedSepaMandate() 1.224s passed
globalAdmin_canGetArbitrarySepaMandate() 1.305s passed
normalUser_canNotGetUnrelatedSepaMandate() 1.263s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
bankAccountAdminUser_canGetRelatedSepaMandate(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
{
    "uuid": "d5286863-349b-4a9d-a10f-826831e54d87",
    "debitor": {
        "uuid": "f1bbe636-8098-435b-b2f0-d98539953cd4",
        "debitorRel": {
            "uuid": "b513be14-3f23-49b7-a906-baf9fa0f2c82",
            "anchor": {
                "uuid": "c75ee69d-ce4e-4631-ba77-0706482a8e11",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "c75ee69d-ce4e-4631-ba77-0706482a8e11",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "a0c7ec97-9caf-4f7a-abcf-9507476856fd",
                "caption": "first contact",
                "postalAddress": {
                    "country": "Germany"
                },
                "emailAddresses": {
                    "main": "contact-admin@firstcontact.example.com"
                },
                "phoneNumbers": {
                    "phone_office": "+49 123 1234567"
                }
            }
        },
        "debitorNumber": "D-1000111",
        "debitorNumberSuffix": "11",
        "partner": {
            "uuid": "e44d23f6-3ad0-4ffe-af86-f334c797b16f",
            "partnerNumber": "P-10001",
            "partnerRel": {
                "uuid": "c99a5d49-cae8-43e1-aaa4-77e12077c8a7",
                "anchor": {
                    "uuid": "fe35fd05-1333-4976-bf54-a56e4400148a",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "c75ee69d-ce4e-4631-ba77-0706482a8e11",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "First GmbH",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "a0c7ec97-9caf-4f7a-abcf-9507476856fd",
                    "caption": "first contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@firstcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": null
        },
        "billable": true,
        "vatId": null,
        "vatCountryCode": null,
        "vatBusiness": true,
        "vatReverseCharge": false,
        "refundBankAccount": {
            "uuid": "b46bf532-2cae-4df6-8aab-c5bff73f9360",
            "holder": "First GmbH",
            "iban": "DE02120300000000202051",
            "bic": "BYLADEM1001"
        },
        "defaultPrefix": "fir"
    },
    "bankAccount": {
        "uuid": "b46bf532-2cae-4df6-8aab-c5bff73f9360",
        "holder": "First GmbH",
        "iban": "DE02120300000000202051",
        "bic": "BYLADEM1001"
    },
    "reference": "ref-10001-11",
    "agreement": "2022-09-30",
    "validFrom": "2022-10-01",
    "validTo": "2026-12-31"
}
nothing deleted
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
bankAccountAdminUser_canGetRelatedSepaMandate(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
normalUser_canNotGetUnrelatedSepaMandate(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted

nothing deleted
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
normalUser_canNotGetUnrelatedSepaMandate(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canGetArbitrarySepaMandate(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
{
    "uuid": "d5286863-349b-4a9d-a10f-826831e54d87",
    "debitor": {
        "uuid": "f1bbe636-8098-435b-b2f0-d98539953cd4",
        "debitorRel": {
            "uuid": "b513be14-3f23-49b7-a906-baf9fa0f2c82",
            "anchor": {
                "uuid": "c75ee69d-ce4e-4631-ba77-0706482a8e11",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "c75ee69d-ce4e-4631-ba77-0706482a8e11",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "a0c7ec97-9caf-4f7a-abcf-9507476856fd",
                "caption": "first contact",
                "postalAddress": {
                    "country": "Germany"
                },
                "emailAddresses": {
                    "main": "contact-admin@firstcontact.example.com"
                },
                "phoneNumbers": {
                    "phone_office": "+49 123 1234567"
                }
            }
        },
        "debitorNumber": "D-1000111",
        "debitorNumberSuffix": "11",
        "partner": {
            "uuid": "e44d23f6-3ad0-4ffe-af86-f334c797b16f",
            "partnerNumber": "P-10001",
            "partnerRel": {
                "uuid": "c99a5d49-cae8-43e1-aaa4-77e12077c8a7",
                "anchor": {
                    "uuid": "fe35fd05-1333-4976-bf54-a56e4400148a",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "c75ee69d-ce4e-4631-ba77-0706482a8e11",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "First GmbH",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "a0c7ec97-9caf-4f7a-abcf-9507476856fd",
                    "caption": "first contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@firstcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "98b3b498-1ab6-4e5c-866a-e0e92f06e51f",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "billable": true,
        "vatId": null,
        "vatCountryCode": null,
        "vatBusiness": true,
        "vatReverseCharge": false,
        "refundBankAccount": {
            "uuid": "b46bf532-2cae-4df6-8aab-c5bff73f9360",
            "holder": "First GmbH",
            "iban": "DE02120300000000202051",
            "bic": "BYLADEM1001"
        },
        "defaultPrefix": "fir"
    },
    "bankAccount": {
        "uuid": "b46bf532-2cae-4df6-8aab-c5bff73f9360",
        "holder": "First GmbH",
        "iban": "DE02120300000000202051",
        "bic": "BYLADEM1001"
    },
    "reference": "ref-10001-11",
    "agreement": "2022-09-30",
    "validFrom": "2022-10-01",
    "validTo": "2026-12-31"
}
nothing deleted
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canGetArbitrarySepaMandate(): TOTAL OBJECT COUNT (after): 210 -> 210