mediawiki-extensions-Cite/tests/phpunit/ReferenceMessageLocalizerTest.php

22 lines
462 B
PHP
Raw Normal View History

<?php
namespace Cite\Tests;
use Cite\ReferenceMessageLocalizer;
use LanguageQqx;
/**
* @covers \Cite\ReferenceMessageLocalizer
* @license GPL-2.0-or-later
*/
class ReferenceMessageLocalizerTest extends \MediaWikiIntegrationTestCase {
public function testMsg() {
$localizer = new ReferenceMessageLocalizer( new LanguageQqx() );
$this->assertSame(
'(cite_reference_link_prefix)',
$localizer->msg( 'cite_reference_link_prefix' )->plain() );
}
}