创建 PhoneNumberValidationTest.java
parent
9e6aa75c6c
commit
c03b2790f8
|
|
@ -0,0 +1,16 @@
|
|||
package com.kimgo.wepush;
|
||||
|
||||
import com.kimgo.wepush.common.PhoneNumberValidation;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
public class PhoneNumberValidationTest {
|
||||
|
||||
@Test
|
||||
public void testPhoneNumber(){
|
||||
String phoneNumber = "1008611";
|
||||
PhoneNumberValidation phoneNumberValidation = new PhoneNumberValidation();
|
||||
phoneNumberValidation.isValidPhoneNumber(phoneNumber);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue