t('Israel Phone number test'), 'description' => t('Tests various valid and invalid Israel phone numbers for validity'), 'group' => t('Phone') ); } public function testPhoneILValid() { //$this->assertTrue(valid_phone_number('il', '04 476 0000'), t('Test valid')); } public function testPhoneILInvalid() { //$this->assertFalse(valid_phone_number('il', '021 3012 3456'), t('Test invalid')); } public function testPhoneILFormatting() { //$this->assertEqual(format_phone_number('il', '+6421123456', null), '+64 21 123 456', t('Check international mobile format')); } }