/** * @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); }
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']); }