wiki.techinc.nl/tests/phpunit/includes/exception/UserNotLoggedInTest.php

17 lines
359 B
PHP
Raw Normal View History

<?php
/**
* @covers UserNotLoggedIn
* @author Adam Shorland
*/
class UserNotLoggedInTest extends MediaWikiTestCase {
public function testConstruction() {
$e = new UserNotLoggedIn();
$this->assertEquals( 'exception-nologin', $e->title );
$this->assertEquals( 'exception-nologin-text', $e->msg );
$this->assertEquals( array(), $e->params );
}
}