public function testNewForRevUserDeleteChange()
 {
     $user = $this->getMutableTestUser()->getUser();
     $recentChange = $this->testRecentChangesHelper->makeDeletedEditRecentChange($user, 'Zzz', '20131103212153', 191, 190, '20131103212153', 0, 0);
     $cacheEntryFactory = new RCCacheEntryFactory($this->getContext(), $this->getMessages(), $this->linkRenderer);
     $cacheEntry = $cacheEntryFactory->newFromRecentChange($recentChange, false);
     $this->assertInstanceOf('RCCacheEntry', $cacheEntry);
     $this->assertEquals(false, $cacheEntry->watched, 'watched');
     $this->assertEquals('21:21', $cacheEntry->timestamp, 'timestamp');
     $this->assertEquals(0, $cacheEntry->numberofWatchingusers, 'watching users');
     $this->assertEquals(false, $cacheEntry->unpatrolled, 'unpatrolled');
     $this->assertRevDel($cacheEntry);
     $this->assertTitleLink('Zzz', $cacheEntry);
     $this->assertEquals('cur', $cacheEntry->curlink, 'cur link for delete log or rev');
     $this->assertEquals('diff', $cacheEntry->difflink, 'diff link for delete log or rev');
     $this->assertEquals('prev', $cacheEntry->lastlink, 'pref link for delete log or rev');
 }
 public function revUserDeleteProvider()
 {
     return array(array(array('title' => 'Zzz', 'user' => 'TestRecentChangesUser', 'diff' => '', 'cur' => '', 'timestamp' => '21:21', 'numberofWatchingusers' => 0, 'unpatrolled' => false), $this->getContext(), $this->getMessages(), $this->testRecentChangesHelper->makeDeletedEditRecentChange($this->getTestUser(), 'Zzz', '20131103212153', 191, 190, '20131103212153', 0, 0), false));
 }