3 * @author Santhosh Thottingal
4 * @copyright Copyright © 2012, Santhosh Thottingal
8 /** Tests for MediaWiki languages/classes/LanguageHsb.php */
9 class LanguageHsbTest
extends MediaWikiTestCase
{
13 $this->lang
= Language
::factory( 'hsb' );
19 /** @dataProvider providePlural */
20 function testPlural( $result, $value ) {
21 $forms = array( 'one', 'two', 'few', 'other' );
22 $this->assertEquals( $result, $this->lang
->convertPlural( $value, $forms ) );
25 function providePlural() {
30 array( 'one', 90001 ),
36 array( 'other', 555 ),