class RandomPhoneNumberProviderTest(unittest.TestCase):
  """Test class for RandomPhoneNumberProvider.
  """

  def setUp(self):
    self.provider = RandomPhoneNumberProvider()

  def testGetValue(self):
    """Tests getValue().
    """
    value = self.provider.getValue()
    for ch in value:
      self.assertTrue(ch in '0123456789 ()+-')
 def setUp(self):
   self.provider = RandomPhoneNumberProvider()