17 $objectManager = new \Magento\Framework\TestFramework\Unit\Helper\ObjectManager($this);
31 $this->assertEquals($resultIconv, $this->model->filter($testString));
33 $this->assertEquals(
$result, $this->model->filter($testString));
42 $isIconv =
'"libiconv"' == ICONV_IMPL;
44 [
'test',
'test',
'test', $isIconv],
45 [
'привет мир',
'privet-mir',
'privet-mir', $isIconv],
47 'Weiß, Goldmann, Göbel, Weiss, Göthe, Goethe und Götz',
48 'weiss-goldmann-gobel-weiss-gothe-goethe-und-gotz',
49 'weiss-goldmann-gobel-weiss-gothe-goethe-und-gotz',
53 '❤ ☀ ☆ ☂ ☻ ♞ ☯ ☭ ☢ € → ☎ ❄ ♫ ✂ ▷ ✇ ♎ ⇧ ☮',
58 [
'™',
'tm',
'tm', $isIconv]
testFilter($testString, $result, $resultIconv, $isIconv)