Browse Source

Credentials Test

master
MRichter 1 year ago
parent
commit
476a5b6ed1
1 changed files with 10 additions and 1 deletions
  1. 10
    1
      test/java/CredentialsTest.java

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

@@ -5,6 +5,15 @@ import static org.junit.jupiter.api.Assertions.*;
class CredentialsTest {

@Test
void valid() {
void existingCheck() {
Credentials cred = new Credentials("apple", "windows");
assertNotNull(cred);
}

@Test
void validData() {
Credentials cred = new Credentials("hofmannol", "GERONIMO");
assertTrue(cred.valid());
}

}

Loading…
Cancel
Save