getExampleNumberForNonGeoEntity() public method

Gets a valid number for the specified country calling code for a non-geographical entity.
public getExampleNumberForNonGeoEntity ( integer $countryCallingCode ) : PhoneNumber
$countryCallingCode integer the country calling code for a non-geographical entity
return PhoneNumber a valid number for the non-geographical entity. Returns null when the metadata does not contain such information, or the country calling code passed in does not belong to a non-geographical entity.
 /**
  * @dataProvider supportedGlobalNetworkCallingCodes
  */
 public function testGlobalNetworkNumbers($callingCode)
 {
     $exampleNumber = $this->phoneNumberUtil->getExampleNumberForNonGeoEntity($callingCode);
     $this->assertNotNull($exampleNumber, "No example phone number for calling code " . $callingCode);
     if (!$this->phoneNumberUtil->isValidNumber($exampleNumber)) {
         $this->fail("Failed validation for " . $exampleNumber);
     }
 }
 public function testGetExampleNumberForNonGeoEntity()
 {
     $this->assertEquals(self::$internationalTollFree, $this->phoneUtil->getExampleNumberForNonGeoEntity(800));
     $this->assertEquals(self::$universalPremiumRate, $this->phoneUtil->getExampleNumberForNonGeoEntity(979));
 }