public function testMasterFirstRenderNoCache() { $c = $this->_root->getComponentById('root_page1'); Kwf_Component_Cache_RendererDynamicUseViewCache_Page1_TestPartial::setIds(array(4, 5)); $html = $c->render(true, true); $this->assertContains('45', $html); $this->assertNotContains('123', $html); }
public static function setIds($ids) { self::$_ids = $ids; }