You are here

public function BRPhoneNumberTestCase::testPhoneBRFormatting in Phone 7

Same name and namespace in other branches
  1. 6 tests/phone-br.test \BRPhoneNumberTestCase::testPhoneBRFormatting()

File

tests/phone.br.test, line 36

Class

BRPhoneNumberTestCase

Code

public function testPhoneBRFormatting() {
  $this
    ->assertEqual(format_br_phone_number('+55 11 2222-3333', null), '+55 (11) 222-333', t('Brazil - +55 (11) 222-333'));
}