/**
  * @param Manager $manager
  *
  * @depends test__construct
  */
 public function testCacheExists(Manager $manager)
 {
     $this->root = vfsStream::setup("/root");
     $filepath = "somefile";
     $format = "50x";
     $this->assertFalse($manager->cacheExists($format, $filepath));
     $structure = array("app" => array(), "web" => array("cache" => array("im" => array($format => array($filepath => 'somecontent')))));
     $structureStream = vfsStream::create($structure);
     $this->root->addChild($structureStream);
     $this->assertTrue($manager->cacheExists($format, $filepath));
 }