You are here

public function PhoneIntTest::testBasicWithFourCountryCode in Phone 7

Same name and namespace in other branches
  1. 6 tests/phone.int.test \PhoneIntTest::testBasicWithFourCountryCode()

File

tests/phone.int.test, line 49

Class

PhoneIntTest

Code

public function testBasicWithFourCountryCode() {
  $this
    ->assertConversion('+6724 565434', FALSE, array(), array(
    'Invalid international phone number: Country code "+%cc" is too long; valid country codes are three digits or less.',
    array(
      '%cc' => '6724',
    ),
  ));
}