Debian Codegraph @

tests/phpunit/includes/languages/LanguageTyvTest.php

raw symbols SCIP
1 <?php
2
3 /**
4 * @group Language
5 */
6 class LanguageTyvTest extends LanguageClassesTestCase {
7
8 /**
9 * @dataProvider provideGrammar
10 * @covers \MediaWiki\Language\Language::convertGrammar
11 */
12 public function testGrammar( $result, $word, $case ) {
13 $this->assertEquals( $result, $this->getLang()->convertGrammar( $word, $case ) );
14 }
15
16 public static function provideGrammar() {
17 yield 'Wikipedia genitive' => [
18 'Википедияның',
19 'Википедия',
20 'genitive',
21 ];
22 }
23 }