Lines Matching full:renumber
1088 PhoneNumber reNumber = new PhoneNumber();
1089 reNumber.setCountryCode(262).setNationalNumber(262123456L);
1090 assertTrue(phoneUtil.isValidNumber(reNumber));
1091 assertTrue(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.RE));
1092 assertFalse(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.YT));
1094 reNumber.setNationalNumber(269601234L);
1095 assertTrue(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.YT));
1096 assertFalse(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.RE));
1098 reNumber.setNationalNumber(269123456L);
1099 assertFalse(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.YT));
1100 assertFalse(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.RE));
1101 assertFalse(phoneUtil.isValidNumber(reNumber));
1103 assertEquals(RegionCode.YT, phoneUtil.getRegionCodeForNumber(reNumber));
1105 reNumber.setNationalNumber(800123456L);
1106 assertTrue(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.YT));
1107 assertTrue(phoneUtil.isValidNumberForRegion(reNumber, RegionCode.RE));