fertige Tests für Payment und Transfer

Kleine Anpassungen im Exception Handling der Konstruktoren
This commit is contained in:
2024-12-04 16:19:30 +01:00
parent ca2f056008
commit cc1e044d26
13 changed files with 773 additions and 412 deletions

View File

@@ -2,31 +2,41 @@
{
"CLASSNAME": "Payment",
"INSTANCE": {
"incomingInterest": 0.025,
"outgoingInterest": 0.05,
"incomingInterest": 0.5,
"outgoingInterest": 0.25,
"date": "10.01.1988",
"amount": 1500,
"amount": 1500.0,
"description": "Deposit; 1500"
}
},
{
"CLASSNAME": "IncomingTransfer",
"INSTANCE": {
"sender": "Account Eva",
"recipient": "Account Adam",
"sender": "Eva",
"recipient": "Max",
"date": "01.01.2021",
"amount": 150,
"description": "Incoming Transfer; Eva->Adam; 150"
"amount": 150.0,
"description": "Incoming Transfer; Eva-\u003eMax; 150"
}
},
{
"CLASSNAME": "OutgoingTransfer",
"INSTANCE": {
"sender": "Account Adam",
"recipient": "Account Eva",
"sender": "Max",
"recipient": "Eva",
"date": "03.01.2021",
"amount": 50,
"description": "Outgoing Transfer; Adam->Eva; 50"
"amount": 50.0,
"description": "Outgoing Transfer; Max-\u003eEva; 50"
}
},
{
"CLASSNAME": "Payment",
"INSTANCE": {
"incomingInterest": 0.5,
"outgoingInterest": 0.25,
"date": "01.01.24",
"amount": 10.0,
"description": "Verwendungszweck P1"
}
}
]