GetSepaMandate

3

tests

0

failures

0

ignored

4.263s

duration

100%

successful

Tests

Test Duration Result
bankAccountAdminUser_canGetRelatedSepaMandate() 1.398s passed
globalAdmin_canGetArbitrarySepaMandate() 1.441s passed
normalUser_canNotGetUnrelatedSepaMandate() 1.424s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
bankAccountAdminUser_canGetRelatedSepaMandate(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
{
    "uuid": "a96a3104-0ee7-4793-bba6-f1184f8d14e3",
    "debitor": {
        "uuid": "1882e679-de50-4d2d-8b44-bf5040223e7e",
        "debitorRel": {
            "uuid": "583955d1-f344-4084-b8c8-d6064118002c",
            "anchor": {
                "uuid": "d307d965-33bb-4965-9d1e-d13daf0b98db",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "d307d965-33bb-4965-9d1e-d13daf0b98db",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "54d626a3-0db3-4437-b515-8df232ba4c39",
                "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": "1dfddd69-2c2b-4255-a9a4-8cf7474ac23a",
            "partnerNumber": "P-10001",
            "partnerRel": {
                "uuid": "2d383c6f-7f31-4eac-abef-4c12f8235c88",
                "anchor": {
                    "uuid": "cdee26c7-a241-4a3c-99cc-1138917c252b",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "d307d965-33bb-4965-9d1e-d13daf0b98db",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "First GmbH",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "54d626a3-0db3-4437-b515-8df232ba4c39",
                    "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": "9cd25059-127f-4080-97b8-89d5b5e96785",
            "holder": "First GmbH",
            "iban": "DE02120300000000202051",
            "bic": "BYLADEM1001"
        },
        "defaultPrefix": "fir"
    },
    "bankAccount": {
        "uuid": "9cd25059-127f-4080-97b8-89d5b5e96785",
        "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": "a96a3104-0ee7-4793-bba6-f1184f8d14e3",
    "debitor": {
        "uuid": "1882e679-de50-4d2d-8b44-bf5040223e7e",
        "debitorRel": {
            "uuid": "583955d1-f344-4084-b8c8-d6064118002c",
            "anchor": {
                "uuid": "d307d965-33bb-4965-9d1e-d13daf0b98db",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "d307d965-33bb-4965-9d1e-d13daf0b98db",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "54d626a3-0db3-4437-b515-8df232ba4c39",
                "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": "1dfddd69-2c2b-4255-a9a4-8cf7474ac23a",
            "partnerNumber": "P-10001",
            "partnerRel": {
                "uuid": "2d383c6f-7f31-4eac-abef-4c12f8235c88",
                "anchor": {
                    "uuid": "cdee26c7-a241-4a3c-99cc-1138917c252b",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "d307d965-33bb-4965-9d1e-d13daf0b98db",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "First GmbH",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "54d626a3-0db3-4437-b515-8df232ba4c39",
                    "caption": "first contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@firstcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "495f234a-f8b2-46c7-a4aa-ea2f5702f0b1",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "billable": true,
        "vatId": null,
        "vatCountryCode": null,
        "vatBusiness": true,
        "vatReverseCharge": false,
        "refundBankAccount": {
            "uuid": "9cd25059-127f-4080-97b8-89d5b5e96785",
            "holder": "First GmbH",
            "iban": "DE02120300000000202051",
            "bic": "BYLADEM1001"
        },
        "defaultPrefix": "fir"
    },
    "bankAccount": {
        "uuid": "9cd25059-127f-4080-97b8-89d5b5e96785",
        "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