You are here

public function PhoneIntTest::testOverlongNumber in Phone 7

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

File

tests/phone.int.test, line 76

Class

PhoneIntTest

Code

public function testOverlongNumber() {
  $this
    ->assertConversion('+123 456 789 012 3456', FALSE, array(), 'Invalid international phone number: Phone number is too long; international phone numbers are limited to 15 digits.');
}