/**
  * @depends testGetMetadataForClass
  */
 public function testGetMetadataForClassFileCache()
 {
     $unitUnderTest = new MetadataFactory($this->driver);
     $unitUnderTest->setCache($this->cache);
     $unitUnderTestReadCache = new MetadataFactory($this->driver);
     $unitUnderTestReadCache->setCache($this->cache);
     $unitUnderTest->getMetadataForClass('Opensoft\\SimpleSerializer\\Tests\\Metadata\\Driver\\Fixture\\A\\A');
     $result = $unitUnderTestReadCache->getMetadataForClass('Opensoft\\SimpleSerializer\\Tests\\Metadata\\Driver\\Fixture\\A\\A');
     //die;
     $this->assertInstanceOf('Opensoft\\SimpleSerializer\\Metadata\\ClassMetadata', $result);
     $properties = $result->getProperties();
     $this->assertCount(4, $properties);
     $this->assertCount(1, $result->getFileResources());
     $this->assertEquals('rid', $properties['rid']->getName());
     $this->assertEquals('id', $properties['rid']->getSerializedName());
     $this->assertEquals('integer', $properties['rid']->getType());
     $this->assertTrue($properties['rid']->isExpose());
     $this->assertEquals('name', $properties['name']->getName());
     $this->assertEquals('name', $properties['name']->getSerializedName());
     $this->assertEquals('string', $properties['name']->getType());
     $this->assertTrue($properties['name']->isExpose());
     $this->assertEquals('status', $properties['status']->getName());
     $this->assertEquals('status', $properties['status']->getSerializedName());
     $this->assertEquals('boolean', $properties['status']->getType());
     $this->assertTrue($properties['status']->isExpose());
     $this->assertEquals('hiddenStatus', $properties['hiddenStatus']->getName());
     $this->assertEquals('hiddenStatus', $properties['hiddenStatus']->getSerializedName());
     $this->assertEquals('boolean', $properties['hiddenStatus']->getType());
     $this->assertFalse($properties['hiddenStatus']->isExpose());
 }