Skip to content

Instantly share code, notes, and snippets.

@lovewithmind
Created June 12, 2021 07:51
Show Gist options
  • Save lovewithmind/2de405ff2e8fb1ebe183464ce2084018 to your computer and use it in GitHub Desktop.
Save lovewithmind/2de405ff2e8fb1ebe183464ce2084018 to your computer and use it in GitHub Desktop.
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