t('Belgium Phone number test'), 'description' => t('Tests various valid and invalid Belgium phone numbers for validity'), 'group' => t('Phone') ); } public function testPhoneBEValid() { $this->assertTrue(valid_phone_number('be', '023456789'), t('Test valid')); $this->assertTrue(valid_phone_number('be', '0478990011'), t('Test valid')); } public function testPhoneBEInvalid() { $this->assertFalse(valid_phone_number('be', '+323456789'), t('Test invalid')); $this->assertFalse(valid_phone_number('be', '02 345 67 89'), t('Test invalid')); } public function testPhoneBEFormatting() { //$this->assertEqual(format_phone_number('be', '+6421123456', null), '+64 21 123 456', t('Check international mobile format')); } }