public function testGetHash() { $diff = array(); $instance = new CompositePropertyTableDiffIterator($diff); $instance->setSubject(DIWikiPage::newFromText(__METHOD__)); $this->assertInternalType('string', $instance->getHash()); }
/** * @since 2.5 * * @param CompositePropertyTableDiffIterator $compositePropertyTableDiffIterator * * @return string */ public function getSlot(CompositePropertyTableDiffIterator $compositePropertyTableDiffIterator) { return $this->prefix . self::CACHE_NAMESPACE . $compositePropertyTableDiffIterator->getHash(); }