WatchAction::getWatchToken( $this->watchAction->getTitle(), $user );
}
- /**
- * @covers WatchAction::getUnwatchToken()
- */
- public function testGetUnwatchToken() {
- $user = $this->getMock( User::class );
- $user->expects( $this->once() )->method( 'getEditToken' );
- $this->hideDeprecated( 'WatchAction::getUnwatchToken' );
-
- WatchAction::getUnWatchToken( $this->watchAction->getTitle(), $user );
- }
-
/**
* @covers WatchAction::doWatchOrUnwatch()
*/