1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?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 ); } }