forked from hummel/Bank-System
Weitere Änderungen Testat
parent
080c41122f
commit
d087058ee1
|
@ -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))
|
||||||
|
|
|
@ -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";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue