Created
June 12, 2021 07:51
-
-
Save lovewithmind/2de405ff2e8fb1ebe183464ce2084018 to your computer and use it in GitHub Desktop.
Person data test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PersonTest { | |
@Test | |
public void shouldReturnTrueForCorrectEmail() { | |
Person person = new Person(1, | |
"John", | |
"john@gmail.com", | |
"888888", | |
"888888", | |
null, | |
null); | |
boolean isValidEmail = person.isValidEmail(); | |
assertTrue(isValidEmail); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment