Skip to content

Instantly share code, notes, and snippets.

@lovewithmind
Created June 12, 2021 07:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Person data test
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