示例#1
0
 /**
  * @param Manager $manager
  *
  * @depends test__construct
  */
 public function testGetCacheContent(Manager $manager)
 {
     $structure = array("app" => array(), "web" => array("cache" => array("im" => array('format' => array('somefile' => 'somecontent')))));
     $structureStream = vfsStream::create($structure);
     $this->root->addChild($structureStream);
     $this->assertEquals('somecontent', $manager->getCacheContent('format', 'somefile'));
 }