assertEquals( $result, $this->getLang()->convertGrammar( $word, $case ) ); } public static function providerGrammar() { yield 'Wikipedia genitive' => [ 'Википедиагийн', 'Википедиа', 'genitive', ]; yield 'Wiktionary genitive' => [ 'Викитолийн', 'Викитоль', 'genitive', ]; } }