Credentials Test
This commit is contained in:
parent
fdb392d547
commit
476a5b6ed1
@ -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…
x
Reference in New Issue
Block a user