GetSepaMandate

3

tests

0

failures

0

ignored

3.668s

duration

100%

successful

Tests

Test Duration Result
bankAccountAdminUser_canGetRelatedSepaMandate() 1.250s passed
globalAdmin_canGetArbitrarySepaMandate() 1.206s passed
normalUser_canNotGetUnrelatedSepaMandate() 1.212s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
bankAccountAdminUser_canGetRelatedSepaMandate(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
{
    "uuid": "4c318c0b-6ea9-4c97-b8e8-16ce211d931b",
    "debitor": {
        "uuid": "eea3d3da-6fec-4e38-bece-ba7d717c3937",
        "debitorRel": {
            "uuid": "f497f7e9-79ee-4153-af5e-e82d1e2377fd",
            "anchor": {
                "uuid": "0e0d627f-6889-48c4-ab29-b08aa9585c35",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "0e0d627f-6889-48c4-ab29-b08aa9585c35",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "3e81dbe2-e9e4-4a71-a515-8b6152d060af",
                "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": "544a3247-a348-4ff6-a72c-d7d56d7689b2",
            "partnerNumber": "P-10001",
            "partnerRel": {
                "uuid": "ccd5e720-0e39-4dff-8e82-b60fda50e858",
                "anchor": {
                    "uuid": "99cb7c15-d0f2-4901-b38b-51bc206faa6b",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "0e0d627f-6889-48c4-ab29-b08aa9585c35",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "First GmbH",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "3e81dbe2-e9e4-4a71-a515-8b6152d060af",
                    "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": "b6ea332c-7d71-4d9e-82d7-6b482f7a80d8",
            "holder": "First GmbH",
            "iban": "DE02120300000000202051",
            "bic": "BYLADEM1001"
        },
        "defaultPrefix": "fir"
    },
    "bankAccount": {
        "uuid": "b6ea332c-7d71-4d9e-82d7-6b482f7a80d8",
        "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": "4c318c0b-6ea9-4c97-b8e8-16ce211d931b",
    "debitor": {
        "uuid": "eea3d3da-6fec-4e38-bece-ba7d717c3937",
        "debitorRel": {
            "uuid": "f497f7e9-79ee-4153-af5e-e82d1e2377fd",
            "anchor": {
                "uuid": "0e0d627f-6889-48c4-ab29-b08aa9585c35",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "0e0d627f-6889-48c4-ab29-b08aa9585c35",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "3e81dbe2-e9e4-4a71-a515-8b6152d060af",
                "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": "544a3247-a348-4ff6-a72c-d7d56d7689b2",
            "partnerNumber": "P-10001",
            "partnerRel": {
                "uuid": "ccd5e720-0e39-4dff-8e82-b60fda50e858",
                "anchor": {
                    "uuid": "99cb7c15-d0f2-4901-b38b-51bc206faa6b",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "0e0d627f-6889-48c4-ab29-b08aa9585c35",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "First GmbH",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "3e81dbe2-e9e4-4a71-a515-8b6152d060af",
                    "caption": "first contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@firstcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "484cf33c-4c5b-4c91-b458-5b56c5c35d02",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "billable": true,
        "vatId": null,
        "vatCountryCode": null,
        "vatBusiness": true,
        "vatReverseCharge": false,
        "refundBankAccount": {
            "uuid": "b6ea332c-7d71-4d9e-82d7-6b482f7a80d8",
            "holder": "First GmbH",
            "iban": "DE02120300000000202051",
            "bic": "BYLADEM1001"
        },
        "defaultPrefix": "fir"
    },
    "bankAccount": {
        "uuid": "b6ea332c-7d71-4d9e-82d7-6b482f7a80d8",
        "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