public function testFilterHeavyEntities() { $big_str = str_repeat('-', 5000); $this->obj2->setMetadata($this->name, array($big_str, $big_str)); $guids = array($this->guid1, $this->guid2); $expected = array($this->guid1); $actual = $this->cache->filterMetadataHeavyEntities($guids, 6000); $this->assertIdentical($actual, $expected); }