GetSepaMandate

3

tests

0

failures

0

ignored

3.758s

duration

100%

successful

Tests

Test Duration Result
bankAccountAdminUser_canGetRelatedSepaMandate() 1.279s passed
globalAdmin_canGetArbitrarySepaMandate() 1.262s passed
normalUser_canNotGetUnrelatedSepaMandate() 1.217s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
bankAccountAdminUser_canGetRelatedSepaMandate(): TOTAL OBJECT COUNT (initial): 210 -> 210
nothing deleted
{
    "uuid": "f46f1fad-420f-4a0d-b5f1-272560c64a64",
    "debitor": {
        "uuid": "6d2903e2-5784-4d85-8bf1-a91054f0cc98",
        "debitorRel": {
            "uuid": "9053679f-5d7f-4d07-819d-ed123f259fbe",
            "anchor": {
                "uuid": "8e3fb13a-8776-4e42-9b3d-66c02e8912a7",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "8e3fb13a-8776-4e42-9b3d-66c02e8912a7",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "c93e8f0e-e323-4844-9bbe-bbd83be6c2e0",
                "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": "5f0f1994-0b5f-4c46-b926-3d46de1dc91b",
            "partnerNumber": "P-10001",
            "partnerRel": {
                "uuid": "b9ff06a2-1fba-4abd-a968-acdfdca21709",
                "anchor": {
                    "uuid": "dec68a50-b2c0-4351-a344-f986596b8acb",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "8e3fb13a-8776-4e42-9b3d-66c02e8912a7",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "First GmbH",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "c93e8f0e-e323-4844-9bbe-bbd83be6c2e0",
                    "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": "a4eb4a74-95c7-458a-823e-521bc2f15184",
            "holder": "First GmbH",
            "iban": "DE02120300000000202051",
            "bic": "BYLADEM1001"
        },
        "defaultPrefix": "fir"
    },
    "bankAccount": {
        "uuid": "a4eb4a74-95c7-458a-823e-521bc2f15184",
        "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": "f46f1fad-420f-4a0d-b5f1-272560c64a64",
    "debitor": {
        "uuid": "6d2903e2-5784-4d85-8bf1-a91054f0cc98",
        "debitorRel": {
            "uuid": "9053679f-5d7f-4d07-819d-ed123f259fbe",
            "anchor": {
                "uuid": "8e3fb13a-8776-4e42-9b3d-66c02e8912a7",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "holder": {
                "uuid": "8e3fb13a-8776-4e42-9b3d-66c02e8912a7",
                "personType": "LEGAL_PERSON",
                "tradeName": "First GmbH",
                "salutation": null,
                "title": null,
                "givenName": null,
                "familyName": null
            },
            "type": "DEBITOR",
            "mark": null,
            "contact": {
                "uuid": "c93e8f0e-e323-4844-9bbe-bbd83be6c2e0",
                "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": "5f0f1994-0b5f-4c46-b926-3d46de1dc91b",
            "partnerNumber": "P-10001",
            "partnerRel": {
                "uuid": "b9ff06a2-1fba-4abd-a968-acdfdca21709",
                "anchor": {
                    "uuid": "dec68a50-b2c0-4351-a344-f986596b8acb",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "8e3fb13a-8776-4e42-9b3d-66c02e8912a7",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "First GmbH",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "c93e8f0e-e323-4844-9bbe-bbd83be6c2e0",
                    "caption": "first contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@firstcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "71dc83f2-9f4b-4490-962b-7d438c6101b0",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "billable": true,
        "vatId": null,
        "vatCountryCode": null,
        "vatBusiness": true,
        "vatReverseCharge": false,
        "refundBankAccount": {
            "uuid": "a4eb4a74-95c7-458a-823e-521bc2f15184",
            "holder": "First GmbH",
            "iban": "DE02120300000000202051",
            "bic": "BYLADEM1001"
        },
        "defaultPrefix": "fir"
    },
    "bankAccount": {
        "uuid": "a4eb4a74-95c7-458a-823e-521bc2f15184",
        "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