"this-is-a-string", "String with nÓn ASCII chars & stuff!" => "string-with-non-ascii-chars-and-stuff", ]; foreach ($cases as $input => $expected) { $this->assertEquals($expected, Util::slugify($input)); } } }