Exemplo n.º 1
0
 /**
  * Test getting/setting default transliterator id.
  *
  * @return void
  */
 public function testGetSetTransliteratorId()
 {
     $defaultTransliteratorId = 'Any-Latin; Latin-ASCII; [\\u0080-\\u7fff] remove';
     $this->assertEquals($defaultTransliteratorId, Text::getTransliteratorId());
     $expected = 'Latin-ASCII; [\\u0080-\\u7fff] remove';
     Text::setTransliteratorId($expected);
     $this->assertEquals($expected, Text::getTransliteratorId());
     Text::setTransliteratorId($defaultTransliteratorId);
 }