<?php
/**
- * Test for ProcessCacheLRU class.
- *
* Note that it uses the ProcessCacheLRUTestable class which extends some
* properties and methods visibility. That class is defined at the end of the
* file containing this class.
* Compare against an array so we get the cache content difference.
*/
protected function assertCacheEmpty( $cache, $msg = 'Cache should be empty' ) {
- $this->assertEquals( 0, $cache->getEntriesCount(), $msg );
+ $this->assertSame( 0, $cache->getEntriesCount(), $msg );
}
/**