Пример #1
0
 /**
  * @dataProvider normalize_platform_dependent_chars_provider
  */
 public function test_normalize_platform_dependent_chars($target = null, $expected = null)
 {
     $test = Util_String::normalize_platform_dependent_chars($target);
     $this->assertEquals($expected, $test);
 }
Пример #2
0
 protected function set_body($data = array())
 {
     $this->options['body'] = $this->parser->render($this->config['body'], $data);
     $this->options['body'] .= $this->get_signature($data);
     $this->options['body'] = Util_String::normalize_platform_dependent_chars($this->options['body'], $this->options['is_use_normalizer']);
 }