13 $innerService->expects( $this->never() )->method(
'addWatch' );
23 $innerService->expects( $this->never() )->method(
'addWatchBatchForUser' );
27 $noWriteService->addWatchBatchForUser( $this->
getTestSysop()->getUser(), [] );
33 $innerService->expects( $this->never() )->method(
'removeWatch' );
43 $innerService->expects( $this->never() )->method(
'setNotificationTimestampsForUser' );
47 $noWriteService->setNotificationTimestampsForUser(
57 $innerService->expects( $this->never() )->method(
'updateNotificationTimestamp' );
61 $noWriteService->updateNotificationTimestamp(
71 $innerService->expects( $this->never() )->method(
'resetNotificationTimestamp' );
75 $noWriteService->resetNotificationTimestamp(
77 Title::newFromText(
'Foo' )
84 $innerService->expects( $this->
once() )->method(
'countWatchedItems' )->willReturn( __METHOD__ );
87 $return = $noWriteService->countWatchedItems(
96 $innerService->expects( $this->
once() )->method(
'countWatchers' )->willReturn( __METHOD__ );
99 $return = $noWriteService->countWatchers(
108 $innerService->expects( $this->
once() )
109 ->method(
'countVisitingWatchers' )
110 ->willReturn( __METHOD__ );
113 $return = $noWriteService->countVisitingWatchers(
123 $innerService->expects( $this->
once() )
124 ->method(
'countVisitingWatchersMultiple' )
125 ->willReturn( __METHOD__ );
128 $return = $noWriteService->countWatchersMultiple(
138 $innerService->expects( $this->
once() )
139 ->method(
'countVisitingWatchersMultiple' )
140 ->willReturn( __METHOD__ );
143 $return = $noWriteService->countVisitingWatchersMultiple(
153 $innerService->expects( $this->
once() )->method(
'getWatchedItem' )->willReturn( __METHOD__ );
156 $return = $noWriteService->getWatchedItem(
166 $innerService->expects( $this->
once() )->method(
'loadWatchedItem' )->willReturn( __METHOD__ );
169 $return = $noWriteService->loadWatchedItem(
179 $innerService->expects( $this->
once() )
180 ->method(
'getWatchedItemsForUser' )
181 ->willReturn( __METHOD__ );
184 $return = $noWriteService->getWatchedItemsForUser(
194 $innerService->expects( $this->
once() )->method(
'isWatched' )->willReturn( __METHOD__ );
197 $return = $noWriteService->isWatched(
207 $innerService->expects( $this->
once() )
208 ->method(
'getNotificationTimestampsBatch' )
209 ->willReturn( __METHOD__ );
212 $return = $noWriteService->getNotificationTimestampsBatch(
222 $innerService->expects( $this->
once() )
223 ->method(
'countUnreadNotifications' )
224 ->willReturn( __METHOD__ );
227 $return = $noWriteService->countUnreadNotifications(
240 $noWriteService->duplicateAllAssociatedEntries(
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
testGetWatchedItemsForUser()
testAddWatchBatchForUser()
testCountUnreadNotifications()
testCountVisitingWatchers()
testUpdateNotificationTimestamp()
testDuplicateAllAssociatedEntries()
testGetNotificationTimestampsBatch()
testSetNotificationTimestampsForUser()
testCountWatchersMultiple()
testResetNotificationTimestamp()
testCountVisitingWatchersMultiple()
Represents a page (or page fragment) title within MediaWiki.