Skip to content

Commit

Permalink
Add phone
Browse files Browse the repository at this point in the history
  • Loading branch information
linux-china committed Sep 12, 2021
1 parent bd5a9e3 commit 1fc98d1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/test/java/org/mvnsearch/AppTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,19 @@
public class AppTest {
@Random
private List<User> users;
@Random
@Phone
private String phone2;


@Test
public void testRandomEmail(@Random @Email String email) {
System.out.println(email);
}

@Test
public void testPhone(@Random @Phone String phone) {

}

@Test
Expand Down

0 comments on commit 1fc98d1

Please sign in to comment.