getWatchedItemStore() ); } public function testNotLoggedIn_throwsException() { $this->expectException( UserNotLoggedIn::class ); $this->executeSpecialPage(); } public function testRootPage_displaysExplanationMessage() { $user = new TestUser( __METHOD__ ); list( $html, ) = $this->executeSpecialPage( '', null, 'qqx', $user->getUser() ); $this->assertStringContainsString( '(watchlistedit-normal-explain)', $html ); } public function testClearPage_hasClearButtonForm() { $user = new TestUser( __METHOD__ ); list( $html, ) = $this->executeSpecialPage( 'clear', null, 'qqx', $user->getUser() ); $this->assertRegExp( '/