/**
  * @covers eZ\Publish\Core\MVC\Legacy\Templating\Adapter\ValueObjectAdapter::attribute
  */
 public function testGetAttribute()
 {
     foreach ($this->map as $attributeName => $propName) {
         switch ($attributeName) {
             case 'dynamic_prop':
                 $this->assertSame($this->valueObject, $this->adapter->attribute($attributeName));
                 break;
             default:
                 $this->assertSame($this->validProperties[$propName], $this->adapter->attribute($attributeName));
         }
     }
 }