@Test | @Test | ||||
void validWrongData() { | void validWrongData() { | ||||
Credentials cred = new Credentials("hofmannol", "GEHEIM123"); | |||||
Credentials cred = new Credentials("brunoklasing", "GEHEIM123"); | |||||
assertFalse(cred.valid()); | |||||
} | |||||
@Test | |||||
void validWrongData2() { | |||||
Credentials cred = new Credentials("wimmerma", "GERONIMO"); | |||||
assertFalse(cred.valid()); | assertFalse(cred.valid()); | ||||
} | } | ||||