public void TestCanBeInternationallyDialled()
 {
     foreach (var regionCode in phoneNumberUtil.GetSupportedRegions())
     {
         PhoneNumber     exampleNumber = null;
         PhoneNumberDesc desc          =
             phoneNumberUtil.GetMetadataForRegion(regionCode).NoInternationalDialling;
         try
         {
             if (desc.HasExampleNumber)
             {
                 exampleNumber = phoneNumberUtil.Parse(desc.ExampleNumber, regionCode);
             }
         }
         catch (NumberParseException)
         {
         }
         if (exampleNumber != null && phoneNumberUtil.CanBeInternationallyDialled(exampleNumber))
         {
             wrongTypeCases.Add(exampleNumber);
             // LOGGER.log(Level.SEVERE, "Number " + exampleNumber.toString()
             //   + " should not be internationally diallable");
         }
     }
     Assert.Equal(0, wrongTypeCases.Count);
 }