/** * Method to test Normalise::toKey(). * * @param string $expected The expected value from the method. * @param string $input The input value for the method. * * @return void * * @covers Joomla\String\Normalise::toKey * @dataProvider seedTestToKey * @since 1.0 */ public function testToKey($expected, $input) { $this->assertEquals($expected, Normalise::toKey($input)); }