Browse Source

Credentials Test

master
MRichter 2 years ago
parent
commit
baa9e4a8ee
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      test/java/CredentialsTest.java

+ 7
- 1
test/java/CredentialsTest.java View File



@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());
} }



Loading…
Cancel
Save