Searched refs:invalidNumber (Results 1 – 2 of 2) sorted by relevance
1180 PhoneNumber invalidNumber = new PhoneNumber(); in testIsValidForRegion() local1182 invalidNumber.setCountryCode(3923).setNationalNumber(2366L); in testIsValidForRegion()1183 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.ZZ)); in testIsValidForRegion()1184 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.UN001)); in testIsValidForRegion()1185 invalidNumber.setCountryCode(0); in testIsValidForRegion()1186 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.UN001)); in testIsValidForRegion()1187 assertFalse(phoneUtil.isValidNumberForRegion(invalidNumber, RegionCode.ZZ)); in testIsValidForRegion()1193 PhoneNumber invalidNumber = new PhoneNumber(); in testIsNotValidNumber() local1194 invalidNumber.setCountryCode(39).setNationalNumber(23661830000L).setItalianLeadingZero(true); in testIsNotValidNumber()1195 assertFalse(phoneUtil.isValidNumber(invalidNumber)); in testIsNotValidNumber()[all …]
100 PhoneNumber invalidNumber = new PhoneNumber(); in testGetExpectedCost() local101 invalidNumber.setCountryCode(33).setNationalNumber(116123L); in testGetExpectedCost()102 assertFalse(shortInfo.isValidShortNumber(invalidNumber)); in testGetExpectedCost()104 shortInfo.getExpectedCost(invalidNumber)); in testGetExpectedCost()