Move ResultWrapper subclasses to Rdbms
[mediawiki.git] / tests / phpunit / includes / exception / UserNotLoggedInTest.php
blob55ec45a020b43a0916aa8e8c52dbb97a1d8b7bc3
1 <?php
3 /**
4 * @covers UserNotLoggedIn
5 * @author Addshore
6 */
7 class UserNotLoggedInTest extends MediaWikiTestCase {
9 public function testConstruction() {
10 $e = new UserNotLoggedIn();
11 $this->assertEquals( 'exception-nologin', $e->title );
12 $this->assertEquals( 'exception-nologin-text', $e->msg );
13 $this->assertEquals( [], $e->params );