Weitere Änderungen Testat

main
robinschumann 2022-10-25 14:36:48 +02:00
parent 080c41122f
commit d087058ee1
2 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import de.hs_mannheim.informatik.bank.infrastructure.Persistenz;
public class Banksystem { public class Banksystem {
private Bank bank; private Bank bank;
static int counter = 0; private static int counter = 0;
public Banksystem(String bankname) throws Exception { public Banksystem(String bankname) throws Exception {
if (Persistenz.sindDatenGespeichert(bankname)) if (Persistenz.sindDatenGespeichert(bankname))

View File

@ -125,6 +125,8 @@ class SystemTest {
// Girokonto // Girokonto
int testKontonummer1 = bs.kontoAnlegen("Robin", 2); int testKontonummer1 = bs.kontoAnlegen("Robin", 2);
int testKontonummer2 = bs.kontoAnlegen("Kai", 2); int testKontonummer2 = bs.kontoAnlegen("Kai", 2);
String name = "TestPersistenz"; String name = "TestPersistenz";