/** * @covers Patchwork\Utf8::str_word_count */ function testStr_word_count() { $this->assertSame(array(0 => 'déjà', 5 => 'vu'), u::str_word_count('déjà vu', 2)); }