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

24 lines
473 B
PHP
Raw Normal View History

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